User: admin@spiffworkflow.org clicked save for examples/1-basic-concepts/1-6-roles/my_vacation.bpmn

This commit is contained in:
sartography-automated-committer 2023-06-20 13:16:34 +00:00
parent 8066490c82
commit b9045c7cc8
1 changed files with 5 additions and 2 deletions

View File

@ -86,7 +86,9 @@ Please get in touch with us! We would love to help you as you orchestrate the f
<spiffworkflow:property name="formJsonSchemaFilename" value="approve-vacation-request-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="approve-vacation-request-uischema.json" />
</spiffworkflow:properties>
<spiffworkflow:instructionsForEndUser>Please complete the form below to submit an approval request for the Vacation.</spiffworkflow:instructionsForEndUser>
<spiffworkflow:instructionsForEndUser>Please complete the form below to submit an approval request for the Vacation.
Requested By: {{}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1c2wuo0</bpmn:incoming>
<bpmn:outgoing>Flow_0dsxo60</bpmn:outgoing>
@ -96,7 +98,8 @@ Please get in touch with us! We would love to help you as you orchestrate the f
<bpmn:scriptTask id="Activity_0tr6u2s" name="Assign current user to lane">
<bpmn:incoming>Flow_12s1u1h</bpmn:incoming>
<bpmn:outgoing>Flow_1c2wuo0</bpmn:outgoing>
<bpmn:script>lane_owners = { "Vacation Approver": [get_current_user()['username']] }
<bpmn:script>requested_by = get_current_user()['username']]
lane_owners = { "Vacation Approver": [get_current_user()['username']] }
</bpmn:script>
</bpmn:scriptTask>
</bpmn:process>