Hello experts,
I developed a workflow that reads customer order no from activity seq (order no is activity ID field) and retrieves email address from customer order or customer master then sends a confirmation email about activity finish date.
The workflow works fine but i have a small issue with showing result message. When the order does not exist or when no email address found i want to end event with a message of detail issue.
If the process is successful, i am showing the user a confirmation message with language and receiver’s email address with User Task (1 form field with read only option).

My problem is when no order or no email address found. If i change end event type to IFS failure or terminate end event, i cannot add a command button because the command validation returns error.

During my tests, i achieved to show a message when the event was terminated but after finalizing all settings (of course i made lots of changes in the flow :), i cannot generate a message to user saying no order found or no default email address found etc. I have a workaround with user task to show a message. But is there a way to show a message with end event?
One more question with reading projection call. If the order does not exist in the customer orders then system returns Resource Not Found error and does not flow to end event. I could bypass this by reading collection and control the result in the script task. Is there an alternative to this?
Thanks
Furkan