Error in using complete task for attended node

Certified Associate Developer

Hello All,

I am not able to complete a task that is created for any attended node by using the a!completeTask smart service from a web api. I am able to successfully complete any user input tasks but not any attended task for any other process nodes. I can complete the same task successfully from Tempo. Also I have used the same assignment group for the user input task and the attended node.

Did anybody else face this issue in 21.4? Or is there any other workaround.

  Discussion posts and replies are publicly visible

Parents
  • When you say you're not able to complete the task, what do you mean? Is the node pausing by exception (and if so what is the error)? Or is the node completing but nothing happens to the task? Did you also try to run the node as an administrator?

  • 0
    Certified Associate Developer
    in reply to Peter Lewis

    Hi Peter,

    The node runs fine when I run the process as admin. I am using the a!completeTask smart service from a web api to complete this task. This is when I am hitting the issue where a!completeTask is failing with an error message “???error.accepted.alertMsg???”?

    If I try to complete a user input task with the same assignees in the same process model using the a!completeTask from the same web api then user input task is getting completed successfully. Only issue is with any attended node and I have repeated this with multiple nodes making them attended from assignment.

Reply
  • 0
    Certified Associate Developer
    in reply to Peter Lewis

    Hi Peter,

    The node runs fine when I run the process as admin. I am using the a!completeTask smart service from a web api to complete this task. This is when I am hitting the issue where a!completeTask is failing with an error message “???error.accepted.alertMsg???”?

    If I try to complete a user input task with the same assignees in the same process model using the a!completeTask from the same web api then user input task is getting completed successfully. Only issue is with any attended node and I have repeated this with multiple nodes making them attended from assignment.

Children