- Issue created by @Sharik_2023
- Issue was unassigned.
- π©πͺGermany jurgenhaas Gottmadingen
When processing the scheduled task (your bottom event) you need to load the order and check the status. If that's
Completed
, then do not send the email.BTW, if you assign issues to yourself, that means that you want to work on it yourselves. But if you want somebody else to respond to it, then you may want to leave the unassigned value there.
- πΊπ¦Ukraine Sharik_2023
Good day, thank you for the advice, but I'm having trouble downloading the order in the lower event. Perhaps you have some suggestions regarding this.
- π©πͺGermany jurgenhaas Gottmadingen
You can either forward the order itself, similar to how you forward the email address to the queued task. Or you only forward the order ID to the queued task and then use the "Load Entity" action plugin to load the order entity into a token during task processing. I'd prefer the latter approach.
- πΊπ¦Ukraine Sharik_2023
Thank you for your response. I tried implementing your suggestion, but I couldn't achieve the goal. I attempted to display the status value using 'Display a message,' but I didn't get any result. Could you please take a look at my code and tell me what mistake I made?
- π©πͺGermany jurgenhaas Gottmadingen
When queuing your task, you currently only forward the
test
token. You should also forward theorderid
token as well.Then, the
Entity: Load
action should load from "Type and ID", not from current scope. Then you need to select the entity type and provide the[orderid]
token in the "Entity ID" field. The field "Entity" remains empty. - Status changed to Fixed
over 1 year ago 1:46pm 13 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.