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
4 replies
Subscribers
6 subscribers
Views
1953 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Subprocesses help to encapsulate functionality to deal with complexity, enable r
JEAN PIERRE
over 10 years ago
Subprocesses help to encapsulate functionality to deal with complexity, enable reuse and better maintenance/testing of pieces of functionality.
Which are the best practives for a subprocess to communicate to the calling parent process the results of its processing (passing variables by reference, exception handling, etc. ?)...
OriginalPostID-121526
OriginalPostID-121526
Discussion posts and replies are publicly visible
Parents
0
JEAN PIERRE
over 10 years ago
Thank you for your response.
According to the Appian Documentation
forum.appian.com/.../Mapping_Subprocess_Data.html
in the "Setup Tab: Input Variables Group Box" section :
"...Each subprocess parameter must hold a system data type. Custom data types cannot be used as parameters of a subprocess..."
Is this true? It would be very restrictive if it is not possible to use CDT as parameters of a sub process. System data types are very primitive abstractions. Talking of Text, Numbers(Integer), Dates...instead of Customer, Order and other business objects does not help to abstract and the business layer does not reveal itself.
Sub processes are useful to encapsulate complexity, but if you cannot pass CDT as parameters, then your sub processes can only pass primitive abstractions as parameters.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
JEAN PIERRE
over 10 years ago
Thank you for your response.
According to the Appian Documentation
forum.appian.com/.../Mapping_Subprocess_Data.html
in the "Setup Tab: Input Variables Group Box" section :
"...Each subprocess parameter must hold a system data type. Custom data types cannot be used as parameters of a subprocess..."
Is this true? It would be very restrictive if it is not possible to use CDT as parameters of a sub process. System data types are very primitive abstractions. Talking of Text, Numbers(Integer), Dates...instead of Customer, Order and other business objects does not help to abstract and the business layer does not reveal itself.
Sub processes are useful to encapsulate complexity, but if you cannot pass CDT as parameters, then your sub processes can only pass primitive abstractions as parameters.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data