Hello,
I am referring the link https://community.alfresco.com/community/bpm/blog/2017/05/01/form-stencil-examples-alfresco-process-... to display process data (Grid/Table example)
I have a case as follows :
I have created the two process namely "process 1" and "process 2". Process 1 contains two task and Process 2 contains three task.
In the process 2 -> task 2, i want to display the process 1 of both task data. The process 1 runs N times by the user and the process 2 should get updated each time. How can i achieve this?
Kindly anyone help me out in this.
Here I have attached my process.
Thanks
Amruta Wandakar
Whats the relation between Process 1 and Process 2?
Process 1 is sub process of process 2
If process 2 is a subprocess of process 1 then all process 1's variables/fields are available for process 2.
When you say
Amruta Wandakar wrote:
The process 1 runs N times by the user and the process 2 should get updated each time. How can i achieve this?
I assume that for each process 1 there is an separate process 2 instance. Is that correct?
In "Process 2" i am calling the "Process 1" using call activity sub process.
Bassam Al-Sarori I have re -attached the process. Kindly help me out in this.
Data between the two processes can be passed using the in/out parameters other than that there is no way to display data in called process from the caller process.
Maybe you need to consider using collapsed subprocess instead.
Bassam Al-Sarori, I have modified the process as per your comments and attached here. Kindly help me out for this query.
You might need a step before going to back to main task. For example a script task that will add the data from the subprocess to a list. That list can then be used to display data in the main task.
Here is an example of how the process can look like.
Bassam Al-Sarori Thank you for the reply. I'm confused that how can i get the process 1 data in script task? is there any documentation for the script task which suits my scenario.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.