Title Not Changing
Hello, there. I have a weird situation with a Web Method in a Workflow. If you review the images provided, you will see from the Feed and Workflow History that the Web Method was executed as expected; however, the title of the ticket was not changed. Is there something that is happening after the web methods are executed that changes the title back? If there is there is no entry in the feed.
Any ideas?
Thanks, Tevis
Answers (4)
It looks like your Branch step is activating both of those web service steps to run at the same time. When you have two web service steps that both run at the same time and *both* are updating something on the ticket, the system treats that like if two *users* were updating a ticket at the same time. Last update wins and could nullify anything the other updater was attempting.
You'd be better off trying to perform these updates in the same PATCH call so this is not an issue. It is built to accept many changes in a single operation.
In practice there will always be a significant time lag from the initial ticket creation, which fires the first method, and the approval condition that fires the second method. This time lag will allow the first (unconditional) web method to fire and execute well before the second method will be fired. Testing shows that if I let the first method execute before doing the approval that fires the second method, the sequence of web methods works as expected.
Thanks for the information.
Tevis - Tevis Boulware Fri 7/19/19 12:13 PM
Hello Tevis,
I don't know of anything off hand that *should* cause this, but can you share screenshots of your configuration of this web service method so I can review how you have it set up currently?
Sincerely,
Mark Sayers
TD Support
Hi Mark, it worked for me as well, then just stopped. If you see the workflow step, I had originally thought the "dangling" step in the WebMethod success condition was causing a problem. So, I fed this into a Collector and the problem did not go away. Also, the "Change Requestor" success dangling condition works just fine.
I expect that is these dangling conditions that may be causing the problem, but why would one work and not the other? Also, why would these show as successful in the feed and the workflow history, but not change the ticket.
Thanks, Tevis
Hi Mark, it looks like I needed to start another thread to give you attachments.
2) This also likely isn't a breaker, but you aren't using the "title" parameter in your call anywhere (that I could see) - Mark Sayers Tue 7/9/19 1:29 PM
Thanks, Tevis - Tevis Boulware Fri 7/19/19 11:01 AM