AnsweredAssumed Answered

Change Request Status when WF Task Completed

Question asked by DArceyTaylor on Oct 3, 2018
Latest reply on Oct 4, 2018 by DArceyTaylor

We have a requirement to update the status of a request to Closed when a workflow task is completed. I have tried to implement the changes in the following community post, but I unfortunately cannot get it to work.


The issue that I am having is getting the correct action macro code, to change the status of the parent request. I have tried all the solutions below, and I get similar errors that were found in the last comment by user avi_m in the post above.


cr.status = 'appropriate status code';

misc::change_ticket_status(, group_leader, attached_event, event_tmpl, ''appropriate status code");


I am not sure if there is a spl code file that may need to accompany the macro or not.


Note: I am currently using version 14.1