AnsweredAssumed Answered

reagarding expression to be appended in the workflow

Question asked by hermes on Dec 17, 2013
Latest reply on Dec 18, 2013 by frederikheremans1
In the workflow , we need to replace the ‘waitForDispatchUpdate’ with unique activiti Id each time so that multiple workflow will recognize response with it’s unique activity id

I am planning to use

<serviceTask id="print" activiti:expression="#{contactDispatchTask.createUniqueId(Execution)}" activity:resultvariable=”activitiResponse” />

This variable will be used across


<!– If no response is received within a set time period the workflow will take a default action –>
      <receiveTask id=" activitiResponse " />
      <boundaryEvent attachedToRef=" activitiResponse "
         id="setDefaultIfNoDispatchUpdate">
         <timerEventDefinition>
            <timeDuration>PT20S</timeDuration>
         </timerEventDefinition>
      </boundaryEvent>


i don't want to write anything in java code to calculate a unique id .Can i use workflow expression to have unique id so that i can have segregate for each workflow response

Outcomes