I am trying to automate the send of Shipment Confirmation emails when a shipment is confirmed.
I have a business event set up - it triggers on the shipment status change to “Confirmed”. So, that part works.
I have an Action Execution set up as the subscriber - this runs but fails with the error “Object reference not set to an instance of an object”
How to I track down the cause of this error?
Are there any tutorials on how to accomplish what I am attempting?
Is there a better way to accomplish what I am attempting?
@rcreasy I am running into the same error when trying to use the trigger by action to prepare invoice for confirmed shipments. I was hoping someone had supplied an answer, but no luck.
Did you get the error resolved?
Hi
- Create a Generic Inquiry to Show all the Confirmed Shipments
Generic Inquiry output
- Create a Business Event for Record Change as shown below:
- Trigger Conditions
- Subscribe Email Notification
- Email Notification configurations
- Confirming a Shipment will trigger the email, as show in the ”All Emails” screen.
Please wait. will shortly upload the GI , and Business Events here.
Hi
Kindly verify in a local instance before trying on production.
ConfirmedShipments (1).xml - Generic Inquiry
SendMailonShipConfirm.xml - Business Event
Shipment Confirmation.xml - Email Template
Hi
I appreciate the information; however, I am trying to ‘Prepare Invoice’ for the confirmed shipments. I tried updating the Business Event to use a GI and trigger on record change.
The Subscriber is an ‘Action Execution’ to run the prepare invoice action on the shipment screen. I am still getting the same error when the BE triggers.
Any suggestions or do I need to submit a support case?
Thanks
Thanks
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.