title: Camunda REST - How to get flow expression possibilities
body: <p>I'm still pretty new to Camunda.</p>
  <p>I would like to illustrate a workflow which can be seen as more than a status flow. This flow should not contain any Java logic but should be controlled via the REST API.</p>
  <p>Now I have a problem with the XOR gateway and REST-engine handling (see picture).</p>
  <p><a href="https://i.stack.imgur.com/8AhTH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8AhTH.png" alt="Camunda BPM Example" /></a></p>
  <p>My goal is, if my process instance is waiting at the user task <code>Status 1</code>, that I get information how to proceed. So that if I want to reach the next state I have to specify if <code>test</code> is true or false.</p>
  <p>I know that in the body of the <a href="https://docs.camunda.org/manual/7.7/reference/rest/task/post-complete/" rel="nofollow noreferrer">complete</a> REST-Call you can give variables and so the path is decided. What I want is that I know in advance which options are available (here: true and false) and can choose one of them.</p>
  <p>So to my question: Is there a REST-Call that can tell me at the point <code>Status 1</code> that I can give either the variable <code>&quot;test&quot;: {&quot;value&quot;: &quot;true&quot;}</code> or the variable <code>&quot;test&quot;: {&quot;value&quot;: &quot;false&quot;}</code>?</p>