I am have field choice drop down list: Approved or Rejected.
But when i am add trigger initialize variable
with expression: coalesce(body('Update_item_sales_approver_BDE_BDM')?['Approved_x0020__x002f__x0020_Rej']?['Value'],'Approved','Rejected')
my error: error in trigger switch
whether my value expression is correct?
Thanks guys
Solved! Go to Solution.
Hi @krfajar ,
Please make sure:
1. All the expression in your flow are correct.
2. Keep the choice of the column the same with the case Equals value, to be Approve and Reject, or be Approved and Rejected.
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
In the Switch case, have you tried setting the values to 0 and 1 versus "approve" and "reject"? The error seems to indicate that an integer is what it's looking for.
Hi @PowerBack19
When i am choose 'Approve', My expression result
Please correct me if i am wrong, i am create action trigger Initialize variable: Boolean is true
And my expression: coalesce(body('Update_item_sales_approver_BDE_BDM')?['Approved_x0020__x002f__x0020_Rej']?['Value'],'0','1')
But when I am choose 'Approve', my expression result cannot function (in my first picture).
Please @PowerBack19 help me. cmiiw. Thanks
Hi @krfajar ,
Please make sure:
1. All the expression in your flow are correct.
2. Keep the choice of the column the same with the case Equals value, to be Approve and Reject, or be Approved and Rejected.
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
89 | |
40 | |
22 | |
20 | |
16 |
User | Count |
---|---|
134 | |
54 | |
47 | |
36 | |
25 |