Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
7 subscribers
Views
2252 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi , I have one parent process and sub-process scenario. Document Rev
sariqs
over 9 years ago
Hi ,
I have one parent process and sub-process scenario. Document Review is my child process in which I need to pass several input parameters which will be used in Sub-process but somehow in the Sub-process configuration I am not able to see any way to add input parameters. Please check attached image for reference and let me know if I am missing anything. I have tried to check the documentation on Sub-process activity but was not able to identify the problem.
...
OriginalPostID-135564
OriginalPostID-135564
Discussion posts and replies are publicly visible
0
Aleksi White
Appian Employee
over 9 years ago
Make sure the process variables in your subprocess are marked as "parameter", otherwise they won't show up in the list of input variables
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sariqs
over 9 years ago
Thank you Aleksi that was the only problem in my case. But its not mentioned in the documentation or I have missed it ?
Also this Document Review Subprocess is sub process right now but I also need to provide capability to start it directly from Actions. At that moment what will be the implications of making variables as parameters ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aleksi White
Appian Employee
over 9 years ago
In the documentation linked here, the section "Setup Tab: Input Variables Group Box" mentions that "each parameter variable configured in the subprocess appears as a row on the Input Variables list":
forum.appian.com/.../Mapping_Subprocess_Data.html
As for making that subprocess an action, you might run into issues with null data if the subprocess parameters are not initialized, depending on how you have the process set up. You might need to incorporate some logic to determine if the process was launched as a subprocess or as a standalone action.
If it was launched as a standalone action, then you can incorporate some null checks or do some parameter initialization to avoid null errors.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bharathc
over 9 years ago
Hi Sariqs,
Did you select parameter checkbox for variables which you want to display as input parameters on the sub process node?
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sariqs
over 9 years ago
Thanks Aleksi for the information its clear now for running sub process as individual process. I have gone through the documentation link before which you have provided but being a newbie was not able to understand what is required to be done in the sub process to make them a parameter.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel