# Use Indentifier ID in task payload

**URL:** <https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955>\
**Category:** Tasks\
**Tags:** data-transformer\
**Created:** [January 30, 2024, 12:40pm UTC](https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955 "2024-01-30T12:40:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![catalin](https://forum.alumio.com/user_avatar/forum.alumio.com/catalin/32/1428_2.png) [@catalin](https://forum.alumio.com/u/catalin)\
**Post date:** [January 30, 2024, 12:40pm UTC](https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955/1 "2024-01-30T12:40:01Z")

</div>

Hello there,

Currently in the created task “Overview” tab.  
The Entity Identifier is set by us using the Entity Schema.

 ![image](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/2X/c/ca9233264984e38eb1e73641d868f22a95d492d4.png)

What if we would like to use the “Identifier” generated by Alumio for that specific task?  
Like when sending an order, or latest update entity we would have a link to Alumios task.  
As current, there is no way to access that information trough a transformer.  
The only other topic related to this is

> [@getTasks for specific routes using Alumio API](https://forum.alumio.com/t/gettasks-for-specific-routes-using-alumio-api/711):
>
> Hi Alumio Team, Good day! We want to link the errored task from Alumio to our system so we can check the failed tasks for specific routes. I checked the API documentation and it seems that this is not possible at the moment but not sure if you have a workaround for this. Here’s what we want to do: We want to get the tasks for specific routes through API however, there are only 2 endpoints available on your API docs. -getTasks - get all the task but this will apply to all routes. -getTask - …

That would mean to do a workaround request inside Alumio to get our task data by the Entity Identifier.

Is currently possible to get the “Identifier” id when running a task?  
Could also be considered as a feature requests.  
Thank you!

---

<div class="post-metadata">

**Author:** ![Alumio\_Bot](https://forum.alumio.com/user_avatar/forum.alumio.com/alumio_bot/32/1824_2.png) [@Alumio\_Bot](https://forum.alumio.com/u/Alumio_Bot)\
**Post date:** [January 31, 2024, 7:55am UTC](https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955/2 "2024-01-31T07:55:39Z")

</div>

You can create your own id by combining several fields from your payload.  
Or selecting an existing id within the payload, for Alumio to use.

With the entity schema’s.  
By filling the **identifier path**.

> [@Entity Schemas in Alumio](https://forum.alumio.com/t/entity-schemas-in-alumio/187):
>
> Table of contents Introduction Creating and maintaining entity schemas Automatically validate incoming data Video guide Introduction Entity schemas define the structure, validation rules, and identifiable information of data. By default, all data flowing through your integrations are assigned to the default entity type. In this case, no structure, validation, or identifiable fields are present. Your Alumio environment will come with a set of standard entity schemas which offer pre-set structur…

---

<div class="post-metadata">

**Author:** ![catalin](https://forum.alumio.com/user_avatar/forum.alumio.com/catalin/32/1428_2.png) [@catalin](https://forum.alumio.com/u/catalin)\
**Post date:** [January 31, 2024, 8:17am UTC](https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955/3 "2024-01-31T08:17:53Z")

</div>

Hi @Alumio_Bot ,

Thanks for the answer.

We have already set up for that specific Route a Entity Schema, as you can see, there are 3 fields set for identification.  
We are looking for a better way to get the current generated unique “ **Identifier** ” by Alumio, inside the payload and use it when POST-ing data outside of Alumio.  
Like in the example :

 ![image](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/2X/c/c449b93978a527a76abd35dcd585f3a57478d98a.png)  
We would like to use the “Identifier” to add id to an URL field when sending the payload, or pass to whole url.  
Here are 2 examples of how we would use them:

```auto
{
"url":"https://admin.alumio.com/boom/tasks/queue/&{alumio_generated_identifier}"
"url_2":"&{link_to_task}"
}

```

---

<div class="post-metadata">

**Author:** ![Alumio\_Bot](https://forum.alumio.com/user_avatar/forum.alumio.com/alumio_bot/32/1824_2.png) [@Alumio\_Bot](https://forum.alumio.com/u/Alumio_Bot)\
**Post date:** [January 31, 2024, 8:25am UTC](https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955/4 "2024-01-31T08:25:16Z")

</div>

Hmm yes that is slightly different,  
The [@Alumio\_support](https://forum.alumio.com/groups/alumio_support) team will have a look.

---

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [January 31, 2024, 3:13pm UTC](https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955/5 "2024-01-31T15:13:43Z")

</div>

Hi @catalin

Could you please let us know whether it is blocking your integration?

---

<div class="post-metadata">

**Author:** ![catalin](https://forum.alumio.com/user_avatar/forum.alumio.com/catalin/32/1428_2.png) [@catalin](https://forum.alumio.com/u/catalin)\
**Post date:** [February 2, 2024, 7:54am UTC](https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955/6 "2024-02-02T07:54:54Z")

</div>

Hi @Gugi ,

Our client that uses this logic would benefit a lot from it in the long run, if this request could be implemented in the near feature.  
Currently, we can manage without sending the task URL trough the payload, but it would improve quality of life for debugging immensely.

---

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [February 2, 2024, 10:00am UTC](https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955/7 "2024-02-02T10:00:36Z")

</div>

Hi @catalin,

Thank you for your answer. We passed the request on to the team for further discussion. A story has been added to our backlog to implement it. However, we cannot provide you with any estimation at the moment. We will let you know once we have any updates.

In addition, you can subscribe to our [Release Notes](https://forum.alumio.com/c/ipaas-general/release-notes/32) to check once the feature has been released in the future.

Thank you very much for your feedback! Please let us know if you have any other feedback.

---

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [November 4, 2024, 8:11am UTC](https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955/8 "2024-11-04T08:11:23Z")

</div>

Hi @catalin,

We would like to inform you that the task identifier is now available with the syntax `@{scope.task}` anywhere in the outgoing configuration.

You can use a Value Setter with `@{scope.task}` as the value, and it will get you the identifier of the task.

Please give it a try and let us know if that works.

---

<div class="post-metadata">

**Author:** ![catalin](https://forum.alumio.com/user_avatar/forum.alumio.com/catalin/32/1428_2.png) [@catalin](https://forum.alumio.com/u/catalin)\
**Post date:** [November 5, 2024, 9:30am UTC](https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955/9 "2024-11-05T09:30:53Z")

</div>

Hi Gugi,  
Working great.

Is this already on Live environments, didn’t see anything yet in the release notes?

 ![image](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/2X/c/c3cfc39342769ca3380be8c7c5903c5738d214c9.png)

---

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [November 5, 2024, 11:45am UTC](https://forum.alumio.com/t/use-indentifier-id-in-task-payload/955/10 "2024-11-05T11:45:34Z")

</div>

Hi Catalin,

Good to hear that it works great.

Yes, it should be available since Alumio version 3.62.0.

Thank you for bringing this to our attention. Going forward, we’ll take extra steps to ensure all relevant details are included to keep you fully informed.

We appreciate your understanding and your help in making our communications better.
