Could you please inform how can I obtain a process instance id?
I need to trigger a CAPI that calls a connector (reassign a task). One of the parameter is the instance ID.
I tried to obtain it using ${P_document.id} but it generated an error on my task: Expression P_document is undefined on line 21, column 78 in Execute Task.
I also tried to obtain it using ${entityId} as specified in the documentation but the error I received was the same.
Could you help?
Regards,
Luiz
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/a69fcbf1-9f3e-4ba3-a533-32bbb34c49b6%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
live/${customer_id}/request/${request_id}/todo/${instance_id}?P_mode=${P_mode}
Regards
Luiz
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/a47c1aa4-0d53-4e12-9006-de9c192d14db%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
I have several processes running in parallel, generated by a loop in an Array of tasks
I know that one of the columns from a web report is the instance id but our users must be able to reassign a task using a custom web interface. It contains a list of tasks and a button (Reassign). Users will select a task, a new responsible e-mail and then press the button. It will trigger a CAPI passing the required values (assignee, P_request, Instance ID, etc.)
It looks like that ${P_document.id) parameter is not available at the same time the process is created. Just for testing, I tried to add it as an input variable in the manual task and it didn't work. But when I add it as an output variable the value could be retrieved
It does not solve the issue because I need the instance ID even when the task was never executed.
This topic can be marked as closed O was able to obtain the ID by using the connector "Get Details of a Process Instance"
Regards,
Luiz