Skip to main content
alokp677109
Participating Frequently
May 25, 2021 11:11 AM UTC
Question

Forms Tab on Sub-Process

What is the use of forms tab on a sub-process configuration ?

It is not working as expected. the start form is started or displayed but the values do not get captured to the PV! 

have anyone used the forms tab on a sub-process. how to configure the same.

Please do not suggest alternate ways.

5 replies

peter.lewis
Employee
May 25, 2021 1:34 PM UTC

You should only use the forms tab when an activity is attended, and really the only activity that makes sense as an attended task is a User Input Task. The forms tab itself is a bit of a legacy tab that existed when nodes were more limited. However, since there's a user input task now there's no need to use a form on any other node.

Can you describe why you want to make the sub-process an attended activity?

alokp677109
Participating Frequently
May 25, 2021 1:44 PM UTC

Basically, I need to use another application's process model (with a start form) without making any change to their code, utilizing maximum reusability. 

Hence I want that the sub-process start form to be executed when the sub-process is triggered. But, in actual when the sub-process is triggered it start its execution from the next node adjacent to the start node. Thus skipping the start form.

Even when I configure the start form in the sub-process although the start form is executed, the values are not returned back.

mikes0011
Brainy
May 25, 2021 1:49 PM UTC

You don't want to use a start form for this.  All you should need to do, is to put a User Input Task in your process flow before the Subprocess call, collect the data you want to pass into the subprocess, then call it.  When called as a subprocess, the current start form in that process shouldn't have any effect on your process flow.

The Expression Guru