Process Created With Decision XOR Steps Do Not Complete
search cancel

Process Created With Decision XOR Steps Do Not Complete

book

Article ID: 394220

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

A process is not executing a decision XOR (either take path1 or path2). It is stuck.
It takes path1 but never goes to path2.

Here is the goal/objective:
There are three boolean attributes (boolean1,boolean2, boolean3) and attribute (Initial Investment).
If the (Initial Investment) is greater than or equal to $1000 dollars, turn off boolean1,boolean2.


Steps-To-Reproduce

1. Create a process on an example object, e.g. Idea

a. For the process 'Start Option', use the following example 'Start Condition for Update'

 ( Idea Initial Investment != Idea Initial Investment [Previous Value] ) 

b. Create 2 steps:



c. set Post-conditions
Split Type= Decision Point (XOR)

If ...    
( ( ( ( Idea.thisIdea example_bool1 = 1 ) or ( Idea.thisIdea example_bool2 = 1 ) ) or ( Idea.thisIdea example_bool3 = 1 ) ) and ( Idea.thisIdea Initial Investment < 1000 ) )  

Then Go To  path1 
then finish.

( ( ( ( Idea.thisIdea  example_bool1 = 1 ) or ( Idea.thisIdea  example_bool2= 1 ) ) or ( Idea.thisIdea example_bool13= 1 ) ) and ( Idea.thisIdea Initial Investment >= 1000 ) )    

Then Go To  path2     

path2 - set two boolean attributes to false (example_bool1, example_bool2) if money >= 1000
then finish.

Process Flow Diagram appears as follows:


2. Validate and activate the process.

3. Launch the process instance and test that both paths are chosen by setting the Initial Investment value.

4. Clear out the Initial Investment value, i.e. set null/blank.

Actual:
The process does not choose a path.

Expected:
The process should choose a path, based on the Initial Investment value.


 

Cause

This is due to a logic not being fulfilled.
The required value needs to be set.


Resolution

In the example above, the required value that needs to be set is 'Initial Investment'.
Without it being set, the process will not choose a path.