Skip to content

updated workflows#97

Merged
dinesh-aot merged 2 commits intobcgov:mainfrom
SnehaSuresh-aot:main
Jul 20, 2022
Merged

updated workflows#97
dinesh-aot merged 2 commits intobcgov:mainfrom
SnehaSuresh-aot:main

Conversation

@SnehaSuresh-aot
Copy link
Contributor

#60

</camunda:executionListener>
<camunda:executionListener class="org.camunda.bpm.extension.hooks.listeners.BPMFormDataPipelineListener" event="take">
<camunda:field name="fields">
<camunda:expression>["applicationId", "applicationStatus", "completedEvent"]</camunda:expression>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may have to empty another variable called "completedPhaseEvent"

<bpmn:sequenceFlow id="Flow_0zci9bl" sourceRef="Gateway_0kyl34x" targetRef="Activity_1cxdn4p">
<bpmn:extensionElements>
<camunda:executionListener event="take">
<camunda:script scriptFormat="javascript">execution.setVariable('applicationStatus', "Accept IPD &amp; Engagement Plan");</camunda:script>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, instead of hard coding the event name, can you get it from the variable itself.
execution.getVariable('completedEvent')

@dinesh-aot dinesh-aot merged commit 2d4bec5 into bcgov:main Jul 20, 2022
@dinesh-aot dinesh-aot added the EPICFLOW Issues related to EPICFLOW label Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EPICFLOW Issues related to EPICFLOW

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants