Hi,I have a process model where I have a value in a pv! variable.
Now, I would like to send pv! variable value to the SAIL form from where I triggered the Process Model.
Can someone give me a clue to do this.
Thanks in advance.
Discussion posts and replies are publicly visible
Rao2022 said:I would like to send pv! variable value to the SAIL form from where I triggered the Process Model.
I think I as well as some other folks here are mistaking your question for something else.
Do you mean you're calling a process model from an existing form, like using a!startProcess()?
In that case, you'll want to utilize the "onSuccess" parameter where you can grab PV data and save it back into local variables in your interface.
I am using "startProcessLink". I don't see any "onSuccess" parameter.Are you suggesting me to use startProcess instead of startProcessLink?
Rao2022 said:Are you suggesting me to use startProcess instead of startProcessLink?
If you want to generate a document in the background and get its ID back into your current interface without interruption, then yes, you have to use a!startProcess(). Note this only works if the generation process is 100% unattended and you activity-chain all the way up to where the new DocId is generated.
Thanks for the info. Let me give a try and update back soon.