Regarding Node Assignment Error

Hi,

I have one process model where am getting data from API. Here the issue is task is not getting assign to a certain person.

I have created two variables Assignee of type User and Initiator of type Text. Before the task node, I have one script task with custom output like (touser(pv!Initiator)) and given target value as Assignee.

I getting Initiator username from API and it is saving into Assignee. Now If I configure the assignment tab with that pv!Assignee process variable then my task is not getting assigned.

And even there are no deadlines for the task.

I am getting the error like "The task status null is invalid." 

Your suggestions are valuable.

Thanks And Regards,

Aswini.

  Discussion posts and replies are publicly visible

Parents
  • Hi Aswini,

    Monitor the instance and check the value stored in pv!Assignee as well as Task status. Am suspecting that there might be a null value in pv!Assignee, that's is the reason you are getting this error"The task status null is invalid." .

    Are you getting initiator value in the same script task , where you have configured this (touser(pv!Initiator)). If that is the case
    Please configure Initiator value in Script task node inputs as AC variable and in custom outputs configure (touser(ac!Initiator)) as a value to pv!Assignee as we are not sure custom out puts configured in script task may execute in any of the order.


    Thanks,
    Sindhu
Reply
  • Hi Aswini,

    Monitor the instance and check the value stored in pv!Assignee as well as Task status. Am suspecting that there might be a null value in pv!Assignee, that's is the reason you are getting this error"The task status null is invalid." .

    Are you getting initiator value in the same script task , where you have configured this (touser(pv!Initiator)). If that is the case
    Please configure Initiator value in Script task node inputs as AC variable and in custom outputs configure (touser(ac!Initiator)) as a value to pv!Assignee as we are not sure custom out puts configured in script task may execute in any of the order.


    Thanks,
    Sindhu
Children
No Data