I would like to extract process variables info from an existing process instance with out using using a a!startprocess() function.. Is there any solution for this usecase.
input: processid
output: list of key value pairs of process variables.
Discussion posts and replies are publicly visible
This is what process reporting is made for. No need to start another process.
docs.appian.com/.../Configuring_Process_Reports.html
Thanks for the Response Stefan .Is it possible to pass dynamically the columnName in report similar that of process variable name ?
Also no of columns = no of process variables based on selected process model
No, that is not possible.
What is your use case?
I am trying to create a common process model to send Email . since Dynamic template selection is not available in send email node.
I am creating a rule to do that dynamically. This is working perfectly fine
I want even this to be in more automated way
If a template has three placeholders(###placeholder1###,###placeholder2###, ###placeholder3### ). these three has to be substituted with the respective process variables value automatically using substitute function
For example: placeholder1 with pv!placeholder1.(Note: name of the process variable name equal to name of the placeholder)
I want to compare "placeholder1" with all list of Process variable name of current PM instance {pv!placeholder1,pv!placeholder2,pv!placeholder3} if it matches fetch the value of respective process variables and substitute.
Please let me know if this can be possible in appian.
I am sure this is somehow possible. But I would not go that way. My recommendation is to not create overly reusable or commonalized objects in Appian. The reason is that the tradeoff of complexity and issues in maintainability are not worth the effort most of the time.