Hi, I have a main process that calls a sub process.The main process passes

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
  • I don't know if this is the reason, because I also have a process model (in a different application) that does the same thing (without using "by reference" when passing a CDT to a sub process). The same thing happens in that application also - the sub process suddenly pauses... Strange thing is that both of these applications throw the same exception now...but till now - everything worked OK (the applications have been active for a long time...)
    Also, I have to mention that in the first application (described in my first post - where I pass CDT to a sub process with by reference), the process flow pauses not only when the sub process is called, but also when the sub process finishes - then the main process pauses, and I also have to manually resume it in order for the process flow to continue.
    Thank you for your advice...If you have any other idea, I would much appreciate it...Best Regards
Reply
  • I don't know if this is the reason, because I also have a process model (in a different application) that does the same thing (without using "by reference" when passing a CDT to a sub process). The same thing happens in that application also - the sub process suddenly pauses... Strange thing is that both of these applications throw the same exception now...but till now - everything worked OK (the applications have been active for a long time...)
    Also, I have to mention that in the first application (described in my first post - where I pass CDT to a sub process with by reference), the process flow pauses not only when the sub process is called, but also when the sub process finishes - then the main process pauses, and I also have to manually resume it in order for the process flow to continue.
    Thank you for your advice...If you have any other idea, I would much appreciate it...Best Regards
Children
No Data