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
  • Here is the full log that is geneareted:

    2014-01-29 08:07:40 [PX021] {pe2450.kdb 5394594} (Default) ERROR .a.p.PROCESS.i "Event Mapping Runtime 13514, attached to Node instance 644917: 'Approval for Vacation Request for Svetlana Saveska', Process 539390707: 'Approval&Validation for Vacation Request bySvetlana Saveska'" "Timer absolute schedule expression (=if(pv!RequestDetails.To_Date > now(), #"_a-0000d7d9-8130-8000-d3f4-680000680000_14322"( pv!RequestDetails.From_Date ), #"_a-0000d7d9-8130-8000-d3f4-680000680000_14322"( now() ))): 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."
Reply
  • Here is the full log that is geneareted:

    2014-01-29 08:07:40 [PX021] {pe2450.kdb 5394594} (Default) ERROR .a.p.PROCESS.i "Event Mapping Runtime 13514, attached to Node instance 644917: 'Approval for Vacation Request for Svetlana Saveska', Process 539390707: 'Approval&Validation for Vacation Request bySvetlana Saveska'" "Timer absolute schedule expression (=if(pv!RequestDetails.To_Date > now(), #"_a-0000d7d9-8130-8000-d3f4-680000680000_14322"( pv!RequestDetails.From_Date ), #"_a-0000d7d9-8130-8000-d3f4-680000680000_14322"( now() ))): 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."
Children
No Data