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
+1
person also asked this
people also asked this
Replies
7 replies
Subscribers
5 subscribers
Views
2990 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi, I have a main process that calls a sub process.The main process passes
bojanb
over 10 years ago
Hi,
I have a main process that calls a sub process.The main process passes many input parameters to the sub process and few of them are passed by reference. The application worked fine for a long period of time, but suddenly it started to give me this kind of exception: "There is a problem with the process Vacation Request. ERROR:EVAL:@reason=Function datetime: EVAL:@reason=A null parameter has been passed to the function (types Date in parameter position(s) 1); please check that the function's inputs are valid."
The thing is - the sub process pauses itself and stays like that...I just need to resume the sub process, and the process flow continues like it should. I have a rule that is used (in the exception of a user input task) in the sub process that checks the date input parameter (that is part of a CDT passed from the main process by reference). It appears that the variable is not passed fast enough, and the rule throws en exception because it t...
OriginalPostID-97893
OriginalPostID-97893
Discussion posts and replies are publicly visible
Parents
0
Christine
Appian Employee
over 10 years ago
You mention that you are passing a CDT by reference. Passing a CDT by reference is not a best practice due to the affects of changing the CDT (especially to process instances that may be in progress).
It is possible that you are seeing this due to cdt changes over time.
I would recommend making this change first and see if the problem still persists since it is against best practice. Then it will be easier to troubleshoot.
Hope that helps
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Christine
Appian Employee
over 10 years ago
You mention that you are passing a CDT by reference. Passing a CDT by reference is not a best practice due to the affects of changing the CDT (especially to process instances that may be in progress).
It is possible that you are seeing this due to cdt changes over time.
I would recommend making this change first and see if the problem still persists since it is against best practice. Then it will be easier to troubleshoot.
Hope that helps
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data