Getting kicked out of the page and returned to main page with change in Assignee automatically

Certified Senior Developer

I have a button named "Save Decision" on task details page, on clicking it automatically kicks out and returns to the home page(Where all tasks are displayed) and also the task assignee gets changed (to the one who was its original assignee before reassignment)

In the code, upon clicking on "Save Decision" we are just saving data to few variables.

Tried to debug but could not locate the reason. does anyone know what might be the reason for it ?

Thanks

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    A few questions:

    1. Is the button configured as a Submit button? 
    2. What happens in your process flow following form submission? 
    3. Is the task assignment based on a static value (original assignee) or do you have it configured to take into account who the previous submitter was?
  • 0
    Certified Senior Developer
    in reply to Mike Schmitt

    1. Yes button is configured as a Submit button
    2. Task details page is a big page having multiple sections, one of the section has this "Save Decision" button and on click of it the page should stay as is.
    3. Task assignment is based on a static value i.e once task gets created based on few conditions it will get assigned to someone say "abc" (Original assignee), but we are using task actions of "Reassign" (Default provided by appian e.g. Accept, Reject, Reassign) and we can chose anyone from it say "xyz". if the xyz goes to the task and clicks on save then the scenario happens.

    in few if else conditions one PM gets executed on click of save button, but thats not related to assignee

Reply
  • 0
    Certified Senior Developer
    in reply to Mike Schmitt

    1. Yes button is configured as a Submit button
    2. Task details page is a big page having multiple sections, one of the section has this "Save Decision" button and on click of it the page should stay as is.
    3. Task assignment is based on a static value i.e once task gets created based on few conditions it will get assigned to someone say "abc" (Original assignee), but we are using task actions of "Reassign" (Default provided by appian e.g. Accept, Reject, Reassign) and we can chose anyone from it say "xyz". if the xyz goes to the task and clicks on save then the scenario happens.

    in few if else conditions one PM gets executed on click of save button, but thats not related to assignee

Children