Configuring conditions while setting up lifecycle

Hi,
Can you please help me with the below doubt regarding configuring conditions for check during state transitions.
Once the policy is configured when i try to configure conditions to be checked during state transition, I am facing a problem.
Consider Condition 1 , Condition 2 and Condition 3 are policies, I want a state transition to happen if and only if Condition 1 is true AND either of Condition 2 OR Condition 3 is true.
Is this possible? I am not really able to understand how the OR conditions actually work.
Appreciate your help!
Thanks,
Sripriya
Can you please help me with the below doubt regarding configuring conditions for check during state transitions.
Once the policy is configured when i try to configure conditions to be checked during state transition, I am facing a problem.
Consider Condition 1 , Condition 2 and Condition 3 are policies, I want a state transition to happen if and only if Condition 1 is true AND either of Condition 2 OR Condition 3 is true.
Is this possible? I am not really able to understand how the OR conditions actually work.
Appreciate your help!
Thanks,
Sripriya
14 answers

Yes, this is possible. In the condition editor follow these steps.
1. Click 'Add Condition', select policy 1, and click 'Add'
2. Select 'AND' from the drop down menu in the policy 1 row and click the plus icon
3. In the new row, choose policy 2 and click 'Add'
4. In the row with policy 2, select 'OR' from the drop down menu and click the plus icon.
5. In the new row, select policy 3 and click the 'Add' button.
1. Click 'Add Condition', select policy 1, and click 'Add'
2. Select 'AND' from the drop down menu in the policy 1 row and click the plus icon
3. In the new row, choose policy 2 and click 'Add'
4. In the row with policy 2, select 'OR' from the drop down menu and click the plus icon.
5. In the new row, select policy 3 and click the 'Add' button.

Hi!
Thanks for the reply.
I followed the steps but I am facing 2 issues while doing this:
1. In the row with policy 2, after selecting OR button and clicking on the plus icon, a new row appears. I select policy 3 and click on the ADD button. The OR condition automatically chages to AND. Is that correct?
2. Suppose only policy 1 and policy 2 passes and policy 3 fails, this action should logically execute and state transition must happen, but when i tested it, the state transition seems to fail and it says policy 3 hasnt executed.
I am confused! Can you please advise.
Regards,
Sripriya.
Thanks for the reply.
I followed the steps but I am facing 2 issues while doing this:
1. In the row with policy 2, after selecting OR button and clicking on the plus icon, a new row appears. I select policy 3 and click on the ADD button. The OR condition automatically chages to AND. Is that correct?
2. Suppose only policy 1 and policy 2 passes and policy 3 fails, this action should logically execute and state transition must happen, but when i tested it, the state transition seems to fail and it says policy 3 hasnt executed.
I am confused! Can you please advise.
Regards,
Sripriya.

1. Ideally yup it should not change. I choose the OR from the dropdown in policy 2, a new row appears, i selected policy 3 click on ADD.
NOW, the OR in policy 2 automatically changed to AND and the new row also has AND condition. However, there is a ORANGE bar on the left of these 2 policies which has OR written on it.
The condition is something as follows:
policy 1 is approveAND + Remove
OR
policy 1 is approveAND + Remove
Hope I am not too confusing! :roll:
2. policy 3 failed. But since I have configured policy 2 or policy 3 condition as shown above, i thought the transition might happen. But it didnt :(
NOW, the OR in policy 2 automatically changed to AND and the new row also has AND condition. However, there is a ORANGE bar on the left of these 2 policies which has OR written on it.
The condition is something as follows:
policy 1 is approve
OR
policy 1 is approve
Hope I am not too confusing! :roll:
2. policy 3 failed. But since I have configured policy 2 or policy 3 condition as shown above, i thought the transition might happen. But it didnt :(

The ANDs and ORs in the drop down menus are just for adding new rules. They do not define the rules. You want to look at the ANDs and ORs in the blue and orange boxes to see the current rules. Here's a screenshot of what it should look like after you have defined your rules.
http://dl.dropbox.com/u/127747/RAM/screenshots/policyConfig.png
http://dl.dropbox.com/u/127747/RAM/screenshots/policyConfig.png

After I add the rules, I see the AND written in the drop box
Here's the screenshot below:
http://dl.dropbox.com/u/4463205/Policy_Conditions.PNG
Is that fine? Will that create a problem when the transition happens?
Here's the screenshot below:
http://dl.dropbox.com/u/4463205/Policy_Conditions.PNG
Is that fine? Will that create a problem when the transition happens?

Do not worry about the combos on the right hand side ... they are there to enable you to add more predicates. It is the left hand side the specifies what is it going to do.
Are you saying that it does not (assuming you saved it).
Note: when you change the community configuration, existing life cycles (pre 7.5.1) will not pick this up. ... you will have to go to the asset -> Collaboration and edit the specific lifecycle.
Are you saying that it does not (assuming you saved it).
Note: when you change the community configuration, existing life cycles (pre 7.5.1) will not pick this up. ... you will have to go to the asset -> Collaboration and edit the specific lifecycle.

Yeah, even if one of the policies in the OR condition becomes true, the transition doesn't happen unless policies passes.
The steps i took were as follows:
Step 1: I configured 4 policies (All of which are the default policies in RAM). Please see the screenshot below of the policy configuration in the lifecycles tab http://dl.dropbox.com/u/4463205/PoliciesInLifecycle.png
Step 2: I configured the AND/OR conditions of the policies for action. Please see the screenshot:- http://dl.dropbox.com/u/4463205/Actions_Configuration.png
Step 3: I submitted an asset of Asset type :- "Service"
Step 4: The asset went into the draft state and in the Collaborators section it showed Policy 4 failed.
Step 5: when i tried to manually transition the asset to the next state, the transition also failed and the asset remained in the original state. Please refer the screenshot attached:- http://dl.dropbox.com/u/4463205/Error_Message_Screenshot.png
Final Result:
The asset did not transition to the next state of the lifecycle.
As per the conditions configured since the asset submitted is of type "Service" and the Policy 3 passed and Policy 1, and 2 passed, shouldn't the transition have happened?
The steps i took were as follows:
The asset did not transition to the next state of the lifecycle.
As per the conditions configured since the asset submitted is of type "Service" and the Policy 3 passed and Policy 1, and 2 passed, shouldn't the transition have happened?
page 1of 1 pagesof 2 pages