05-28-2018 05:56 AM
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
05-29-2018 05:59 AM
Whats the relation between Process 1 and Process 2?
05-29-2018 06:12 AM
Process 1 is sub process of process 2
05-29-2018 06:16 AM
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?
05-29-2018 06:34 AM
In "Process 2" i am calling the "Process 1" using call activity sub process.
05-29-2018 06:52 AM
05-31-2018 05:52 AM
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.
05-31-2018 08:11 AM
05-31-2018 12:09 PM
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.
06-01-2018 01:27 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.