User: natalia clicked save for execute-procure-to-pay/cc-invoice-approval-process/cc-invoice-approval-process-v2.bpmn

This commit is contained in:
demo 2022-10-21 18:22:18 +00:00
parent 8d53c0cfb7
commit c909f976c3
3 changed files with 1 additions and 18 deletions

View File

@ -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="&#34;Hi &#34; + current_user_extras[&#34;first_name&#34;] + &#34;, 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: &#34; + invoice.invoiceId + &#34;\nAmount: &#34; + invoice.invoiceCurrency + str(invoice.invoiceAmount) + &#34;\nDate submitted: &#34; + invoice.invoiceDate + &#34;\nStatus: &#34; + invoice.invoiceStatus + &#34;\nProcess Instance Id: &#34; + str(process_instance_id) + &#34;\nLink to Spiff: https://demo.spiffworkflow.org/&#34;" />
<spiffworkflow:parameter id="message" type="str" value="&#34;Hi &#34; + current_user_extras[&#34;first_name&#34;] + &#34;, 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: &#34; + invoice.invoiceId + &#34;\nAmount: &#34; + invoice.invoiceCurrency + f&#39;{invoice.invoiceAmount:.2f}&#39; + &#34;\nDate submitted: &#34; + invoice.invoiceDate + &#34;\nStatus: &#34; + invoice.invoiceStatus + &#34;\nProcess Instance Id: &#34; + str(process_instance_id) + &#34;\nLink to Spiff: https://demo.spiffworkflow.org/&#34;" />
<spiffworkflow:parameter id="message_type" type="str" value="&#34;wakuext_sendOneToOneMessage&#34;" />
<spiffworkflow:parameter id="recipient" type="str" value="team_lead_info[&#34;status_key&#34;]" />
</spiffworkflow:parameters>

View File

@ -1,11 +0,0 @@
{
"title": "Approve Invoice",
"description": "Select Yes to approvw, No to reject",
"type": "object",
"properties": {
"isInvoiceApproved": {
"type": "boolean",
"title": "Approve?"
}
}
}

View File

@ -1,6 +0,0 @@
{
"isInvoiceApproved": {
"ui:widget": "radio",
"ui:help": " "
}
}