Question

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

  • 11 July 2023
  • 5 replies
  • 89 views

Badge +1

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.


5 replies

Userlevel 3
Badge +5

@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.
Badge +1

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

Userlevel 3
Badge +5

@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.

 

Badge +1

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:

 

 

 

 

Userlevel 3
Badge +5

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

Reply