Question about rest api and transition screen

Bryan Karsh August 24, 2017

Hi guys,

Quick question. If there is a transition screen assigned to a workflow's transition -- but none of its fields are required, will that affect a rest API call from making the transition if the Rest API tries to make a transition without taking the screen into account? Wasn't sure if the presence of the screen would force the API to pass anything. Thinking of edge cases where a rest api could move something to Resolved with a pre-set resolution, but if a human wanted to select a resolution by hand it would override it.

Note -- I know I could make separate transitions, some hidden for programatic stuff, and some for human-initiated stuff. Was curious if they could share a transition basically.

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 24, 2017

The REST API respects your screen setup.  It can only amend fields that are on the screen, but it will only require fields to be set if they are mandatory during the transition.

Suggest an answer

Log in or Sign up to answer