cancel
Showing results for 
Search instead for 
Did you mean: 

Work flow issues 3

former_member283645
Participant
0 Kudos

Dear Experts,

Regarding the branch step.

it says split of single job into multiple concurrent subjobs based on the validation associated with it.

Well, a validation will have a success or failure output. Then where is the point of splitting them??? on bases of 'what' will the branch step split!!!!!!!

Can we also define how it should split??

Please answer.

Kind Regards

Eva

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Eva,

you can use validations in branch steps to redirect workflows accotding to single conditions. I.e. write a validation that checks whether a status of a record is active. In that case you may want to end the workflow immediately. So you use the validation in the branch step, then link it to a stop step and also to another step to continue the workflow. In the Branch step parameters you select the validation, the the first line (validation name) is the true statement, that is connected to e.g. the stop step. The other line leads to the the false step (further steps).

You can also define several validations in order to branch a workflow, e.g. according to departments in a company that have to process a record.

I hope that helps you to understand the Branch step.

Best regards

Christian

former_member283645
Participant
0 Kudos

Hi Chris,

Excellent, thats pretty clear now.

Onthe otherhand i selected the branch step, it is just a image like any other step.

if i have 1 input and multiple output ''image'' i can inclide a 'stop' step and any other on the otherside to continue the WF.

How can i do it here..is there any trick..

q2.

when i select a validation in branch tab, i can see one more option created with the name of my validation.

what is the use of it?

Eva

Former Member
0 Kudos

Hi Eva,

that is rather tricky indeed

You have to first select the validation, then connect the follow-up steps to the Branch step. Then you can select for the new option (name of your validation=true statement) the step. Accordingly, you have to select the name of the other step in the remaining empty option.

You can also select several validations, in which case you would get a list. The name of the validation, that appears below after selecting it, is always your true statement, i.e. if the validation returns true, you indicate the follow-up step here. The rest would be 'else'.

I hope that helps you again.

S pozdravom

Christian

former_member283645
Participant
0 Kudos

Hey chris,

Thnanks.

Just to double check.

My req is a branch step-if success- one more Valdation STEP -.. goes on

if fails - Stop Step.

Now in Branch step i mention the val 1

in the option that is created with my val 1 name i mention val2

ontheother hand in visio

branch step - Stop step

Is my understanding true.

EVA

Former Member
0 Kudos

Ok, so if you have two validations, then you select these two validations in your branch step. If you do that, you will see three new lines below: one for Val1, one for Val2 and one for [Default].

Now you are able to connect three next steps to this branch: Step1 is for the case Val1 is true, Step2 for the case Val2 is true and one for the case none of them is true: your Stop step.

Now, after you connected all three steps to the branch step, you can select for each validation (and [Default]) the appropriate steps.

You have to take care of the order you select the validations. It goes from top to bottom:

If Val1=true then go to Step1, else if Val2=true then go to Step2, else go to Stop.

Nevertheless, you can also have several Branch step after another. But I think, usually one is enough.

Best regards

Christian

former_member283645
Participant
0 Kudos

Hi Chris,

Step1 is for the case Val1 is true, Step2 for the case Val2 is true and one for the case none of them is true: your Stop step.

i tried the above statement, well i give a process step in Val1 field.

And i created a syndication step and i tried to give to val 2 but in the drop down i can only see the process step that i assigned for val 1 !!!

Have i done something wrong!!!

i wish to give

val 1 - synd 1

val2 - synd 2

default , if both fail - stop step

Eva

Former Member
0 Kudos

Hi Eva,

here it is step by step:

1. Select the two validations in the branch step. You are not able to select any steps now.

2. Now connect all three steps to that branch step. Now you should be able to select for each case one of these steps.

3. Select the steps accordingly.

If you still have problems, please feel free to send me a screenshot. I will open my address in my details.

Best regards

Christian

former_member283645
Participant
0 Kudos

Hi Chris,

That was pretty clear. I executed it successfully.

Val 1 --> Synd1

val2 -- > synd2

default -> stop.

Does this mean that if Val 1 is true then the control will NEVER go to val 2 to chk whether its true or not??

Eva

Former Member
0 Kudos

Hi Eva,

that is correct. It is always an exclusive OR condition. You you need a simple OR condition you may need to write another validation that checks for both conditions in Val1 and Val2. For that you can simply make the Val1 and Val2 callable and use them in another validation. You can simply add this new validation Val12 then as a third validation in the branch step (at first place).

Best regards

Christian

former_member283645
Participant
0 Kudos

Brillient.

I made val 1 and 2 as callable.

i created val 3.

in validation expression windows just to call my val1 and val 2,

i selected from functions tab val1 and val2 and ''AND'' from operator tab.

the expression looks like this

Val_1 AND Val_2

is this the correct way to call 2 validations..

Eva

Former Member
0 Kudos

That should do. Val3 will only be true if Val1 and Val2 are true.

Christian

Answers (0)