It's all about the answers!

Ask a question

IBM RTC Rest API + pre-conditions and follow-up action


Pavel Cikota (13610) | asked Jul 10 '17, 7:40 a.m.

Hello!

If I have pre-conditions and follow-up actions on "Save Work Item" operation, rest-client become response of create work item after worked out follow-up action or after work item save?
In other words, rest-client wait follow-up action end or not?

2 answers



permanent link
Ralph Schoon (63.6k33646) | answered Jul 10 '17, 7:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

For all I know both participants/follow up actions and advisors/pre-conditions can fail the save, so the code that runs runs within the save transaction. The operation ends after all the code of the behavior is run.  


permanent link
Pavel Cikota (13610) | answered Aug 07 '17, 5:55 a.m.

I use delay operation In pre-conditions and follow-up action for "speed" test of create/update Work Item by Rest API. Rest-client (I use curl) wait ending work of all plugins (pre-conditions and follow-up action) on operation Save Work Item.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.