mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 05:38:06 +00:00
User: natalia clicked save for execute-procure-to-pay/cc-invoice-approval-process/cc-invoice-approval-process-v2.bpmn
This commit is contained in:
parent
8d53c0cfb7
commit
c909f976c3
@ -383,7 +383,7 @@ Please fix.
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:serviceTaskOperator id="waku/SendMessage" resultVariable="waku_response">
|
||||
<spiffworkflow:parameters>
|
||||
<spiffworkflow:parameter id="message" type="str" value=""Hi " + current_user_extras["first_name"] + ", your invoice has been rejected. The reason specified for the rejection is: [comment]. Please get in touch with your Project Lead to discuss this further.\nInvoice no: " + invoice.invoiceId + "\nAmount: " + invoice.invoiceCurrency + str(invoice.invoiceAmount) + "\nDate submitted: " + invoice.invoiceDate + "\nStatus: " + invoice.invoiceStatus + "\nProcess Instance Id: " + str(process_instance_id) + "\nLink to Spiff: https://demo.spiffworkflow.org/"" />
|
||||
<spiffworkflow:parameter id="message" type="str" value=""Hi " + current_user_extras["first_name"] + ", your invoice has been rejected. The reason specified for the rejection is: [comment]. Please get in touch with your Project Lead to discuss this further.\nInvoice no: " + invoice.invoiceId + "\nAmount: " + invoice.invoiceCurrency + f'{invoice.invoiceAmount:.2f}' + "\nDate submitted: " + invoice.invoiceDate + "\nStatus: " + invoice.invoiceStatus + "\nProcess Instance Id: " + str(process_instance_id) + "\nLink to Spiff: https://demo.spiffworkflow.org/"" />
|
||||
<spiffworkflow:parameter id="message_type" type="str" value=""wakuext_sendOneToOneMessage"" />
|
||||
<spiffworkflow:parameter id="recipient" type="str" value="team_lead_info["status_key"]" />
|
||||
</spiffworkflow:parameters>
|
||||
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"title": "Approve Invoice",
|
||||
"description": "Select Yes to approvw, No to reject",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"isInvoiceApproved": {
|
||||
"type": "boolean",
|
||||
"title": "Approve?"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"isInvoiceApproved": {
|
||||
"ui:widget": "radio",
|
||||
"ui:help": " "
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user