I would like to add a log comment to a Change Order when it is rejected using Process Automation. I'm using the Change Order Update Ticket operator to change the status of the ticket, but can I also log a comment at the same time? I tried using 'chgalg.description' in the Update Fields List, but that did not work. For now I'm using a second operator, Change Order Log Comments.
Thank you for any assistance.
The "Update Ticket" operator allows you to modify simple fields in a change order. The comments, however, are more complex in that they are stored in a different table and are more than just a simple field name/value pair since there can be multiple comments, etc. This can probably be explained better in the Service Desk documentation. But the quick answer is that you cannot combine the call to update a ticket with the call to log a comment. They are separate web service calls in Service Desk as well as separate operators in PAM. Hope that clarifies.
What you could do is create your own custom operator for doing this exact thing.
Then call it from the start process operator on your parent workflow.
You can do both at the same time. Use the SOAP oprator and call the method : changeStatus
Performs an update status activity on a ticket.
Web Services Methods - CA Service Management - 14.1 - CA Technologies Documentation