Skip to main content
Question

WorkFlow that can create email and the same time create error message for user

  • July 11, 2023
  • 6 replies
  • 134 views

Forum|alt.badge.img+1
  • Do Gooder (Customer)
  • 5 replies

Hellow

I try create WorkFlow that allow me send e-mail and the same time blok user to apprve something on application (user will be see message forexample “Don't do that”) 

I created 1 event connected to 2 actions that are connected to separate workflows

1 Action 
 type: Process Enrichment 
 timing: Asynchronous

2 Action 
 type: Validation
 timing: After

Each one seperatly work fine but when called at the same time they don't work at all.

6 replies

Forum|alt.badge.img+7

@szambur ,

  1. What is the behavior you get when both event actions are activated at the same time?
  2. From the event side, can you verify both actions are registered for the event. Also try changing the registering order of the event actions. Register
    Process Enrichment, Asynchronous 1st,
    then Validation, After.
    Let us know the outcome.

Forum|alt.badge.img+1
  • Author
  • Do Gooder (Customer)
  • 5 replies
  • July 12, 2023

Hi @Buddhi Gunasekara 
like i mentioned before 

1. Each one seperatly work fine but when called at the same time they don't work together (only error message appears)

2. I created 1 event which contains 2 actions 
and to each action i connect separate workflows

Action01  /WorkFlow
 type: Process Enrichment 
 timing: Asynchronous

Action 02/WorkFlow
 type: Validation
 timing: After


Forum|alt.badge.img+7

@szambur ,

Can you try removing event actions and re-registering in this order
1st register Validation, After event action(This would have action number 0)
then Process Enrichment, Asynchronous event action (Action number would be 1)
If above didn’t work, can you provide the workflow and event action so we can further investigate.

 


Forum|alt.badge.img+1
  • Author
  • Do Gooder (Customer)
  • 5 replies
  • July 12, 2023

OK @Buddhi Gunasekara we tried your proposal and efect is the same.

Here is what we try achieve.
We need invoke email and error message in case someone tries to update Sales Region Description

 

We configured two Workflows:

  1. Invoke error message (name: ItSalesRegion2) :

 

  1. Invoke e-mail (name: ItSalesRegion1) :

 

Event Actions are configured as fallows:

  1. Action 0

 

  2. Action 1

 

Result: When we change description in SalesRegion, Error appears but application message is not created in connect.

 

Error:

 

 

 

 


Forum|alt.badge.img+7

Seems ok by looking at the screenshots. Can you please log a support ticket to IFS for further investigation.


Forum|alt.badge.img
  • Do Gooder (Partner)
  • 1 reply
  • October 2, 2024

Hello,

was there a solution for this? Having similar issues when trying to include two workflows in one custom event. Creating a seperate custom event doesn’t help. It seems that the validation always prevents the actual process enrichment from working.

I tried creating an SQL event for the error message too, but I can’t get it to work without disabling the workflow event so Workflow+SQL doesn’t seem to work either..