Naming Convention - Using variables from later in the Workflow
I have a workflow with a Start Task that get's info from the user about the PROJECT_ID and ITEM_ID. With that information, the workflow in the second task pulls the DATA_NUMBER from a SharePoint list. Afterwards, the user is given a Standard Task.
In the Naming convention, I have PROJECT_ID - DATA_NUMBER (ITEM_ID). However, when running the workflow, the DATA_NUMBER is blank. So it seems the workflow gathers and holds the variables for the Naming Convention only right after the Start Task.
How do I refresh the Naming Convention to use variables collected after the Start Task so it displays correctly?
-
Hi Brad,
you are right, only the data gathered in the start task will be used in the creating of process instance name. If you want to update the process instance name, you could make use of rest webservices of agilepoint. No OOB function is available for that right now.
Regards,
Alexey
-
I have done this a lot in my applications where I change the process instance name after it has started. Here is a link to the documentation specific for updating the Process Instance using the built-in AgilePoint REST API functions:
https://documentation.agilepoint.com/11/developer/restmethodUpdateProcInst.html
Please sign in to leave a comment.
Comments
2 comments