Hi,
We have an odd situation and can't figure out why it behaves differently:
- Consider the attached template
- It's used as an order state notification template
- It looks for a Swift "System Email" page with a specific NavigationTag
This all works fine when we change the order state directly in the backend, we are getting an email.
However we're triggering this from a scheduled task (because some order data is updated through integration, and a scheduled task looks for necessary changes and triggers an order save event).
- If we let the scheduled task run on a schedule, the email is blank
- Apparently it's not rendering the Grid - this is the Swift_Email template (no customizations)
- We confirmed the page has permissions for Anonymous users
- If we manually run the scheduled task, we get an error
We tried a number of things without sucess, and having 3 different outcomes is confusing.
Any help would be appreciated.
Best Regards,
Nuno Aguiar