Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Exception handling of decision is working unexpectedly.

psn_chau22
Discoverer
439

Dear experts,

I am currently encountering an issue with a flexible workflow custom scenario that I have configured, and I would appreciate your assistance in resolving it.

Scenario:

  • Current Workflow:

    1. User 1 approves. -> Inbox notification is sent to User 2.
    2. User 2 approves. -> Inbox notification is sent to User 3.
    3. User 3 rejects.     -> Inbox notification is sent back to User 2.
    4. User 2 rejects.     -> The scenario ends.
  • Expected Workflow:

    1. User 1 approves. -> Inbox notification is sent to User 2.
    2. User 2 approves. -> Inbox notification is sent to User 3.
    3. User 3 rejects.     -> Inbox notification is sent back to User 2.
    4. User 2 rejects.     -> Inbox notification is sent back to User 1.
    5. User 1 rejects.     -> The scenario ends.

The workflow currently stops after User 2's second rejection, but it should be returning to User 1 for a final rejection. I have attached a screenshot of my workflow configuration for your reference.

Could you please review the configuration and help identify why the workflow isn't behaving as expected?

Thank you in advance for your support.
Best regards.

 

My configuration is as below image:

1. expected scenario:

expected-scenario

2. setting flexible workflow:

config-step

decision user 1

config1

decision user 2:

config2

decision user 3:

config3

4 REPLIES 4

Sandra_Rossi
Active Contributor
0 Kudos
410

You have posted links to the images, I guess people won't open them one by one. Please embed the images (Insert photos of existing files OR your preferred tool for screenshots and Ctrl+V to paste the image).

347

Thank you for your advice. I updated my question.

psn_chau22
Discoverer
0 Kudos
176

I can't find the solution and I also asked SAP experts to check the issue, but they replied that they do not support investigating issues when using a custom workflow, only when using the standard workflow. Therefore, I haven't found a solution to this issue yet, so I hope someone can help me.

Best regards

Sandra_Rossi
Active Contributor
0 Kudos
150

How do you make the step "reject -> continue" go to a previous step? I see here people saying that there is no "goto" action result and flexible workflow has serious limitations.