Hi, We have certain orders that have a expiry date. Once this expiry date is reached, the order needs to get a certain status. How would I do this? I have a micorflow with ´retrieve list of data from database´ with an xpath constraint: [Expiry_DateTime >= '[%BeginOfCurrentDay%]'] [Expiry_DateTime <= '[%EndOfCurrentDay%]'] Do I need to add something in this microflow?
asked
Ian Trouw
1 answers
0
Hi Ian, happy to help!
After doing the retrieve, you could add a decision (“$OrderList != empty”). If the list of orders you retrieve is not empty, you want to change an attribute ‘status’ to a certain value. You want to do this for all orders using a loop. See the example below: