Hii,
PARENT PROCESS
Subprocess
After filling the User input task in this parent process it goes to Subprocess, In the Subprocess I have another user input task(Enabled Activity Chain), After filling the UserInput Task in SubProcess and Submitted, again this Parent Process is started as new one.
Note: In the UserInput Task of Subprocess I have a start process link which helps me to fill another form inside the userinput task of Subprocess.
Submission of StartProcessLink UI lead me to create this New parent process
Discussion posts and replies are publicly visible
Hello antogladvinj3315,Need a little more info on this, Is this startProcessLink that is being used in your User input task of your sub process refer to the same parent process model?
No it does not refers to parent process model --[How to find it is referred or not ]... Start Process link used in UIT of Sub process has different Processmodel ,
Sorry, Just to Understand your question, You are saying when you click on the link present in your UIT that is being open in the subprocess and submit, a new instance of your Parent process is being created. Is that what you are saying?or
Inside this UIT you have a link by which you are trying to access another Process to fill a form which is not related to both of these processes.
Yes , Iam saying when click on the link(This link is a Startprocess which is not related to both of the process) present in UIT that is being open in the subprocess and submit, a new instance of Parent process is being created.
So, Once the form inside the link is Submitted it is showing me the page of a UIT in Parent process (as a new one), But Still the UIT of a Subprocess is not Closed - this is right so that i can again click the link and add other form.
Can you show what is the Interface that is in the Subprocess, Code and Snapshots would help
a!cardLayout( contents: { a!richTextDisplayField( labelPosition: "COLLAPSED", value: { a!richTextItem( text: { "+ Add Types" }, color: "#023e8a", size: "MEDIUM", style: { "STRONG" } ) }, align: "CENTER", marginAbove: "LESS" ) }, link: a!startProcessLink( label: "Start Process Link", processModel: cons!PP_Add_Generate_Type_PM_Cons, processParameters: {
PP_Fields_CDT: ri!types_CDT, PromoCodeID: ri!InitiateFields.ID
}
), height: "EXTRA_SHORT", style: "#ffffff", shape: "SQUARED", marginBelow: "STANDARD", showBorder: false, showShadow: false )
Eg:
Parent Interface:SubProcess Interface:
StartProcess Link Interface:
So,
The Parent process model is even called in Startprocess link only,
Fill the form in interface 1 and click submit and goes to Interface 2, here we will click the link and fill interface 3 --After filling interface 3 it should return back to interface 2 only but it if Starting the Interface 1 PM.
Process Activity:
If you could see pm 1 UIT is submitted and goes to Subprocess PM 2 is Active . We click link Pm 3 started, once we submit Pm 3, We can see New interface1 Pm is started.