cancel
Showing results for 
Search instead for 
Did you mean: 

Conditionnal step

Former Member
0 Kudos

Hi experts,

I have a scenario with 3 steps, let's say step a step b step c

I would like to trigger the step b if the step a success. Fot that I xan use the Successor/Predecessor.

But I would also like trigger the step c if the step a fail. It's a kind of a loop if..else but I don't what is the configuration in B1i for that

Any ideas please?

Thanks

Regards

Sarah

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sarah

It seems to me that this thread contains an useful information for you:

I haven't tried it but according to what Bastian wrote it is possible to include another step in your original step and use the result from included step in the original. I think that you should be able to create a 'main' step in which you could conditionally include other steps. It requires more testing, though.

Kind regards,

Radek

Former Member
0 Kudos

Hi Radek,

Infact it's interesting. But my problem is if I include a step in my main step I couldn't test in my included step the final result of my main step. And it's exactly that I need. I want to trigger a step only if the main step success and another step if the main step fail

Thanks

Regards

Sarah

Former Member
0 Kudos

Any suggestions?

former_member202745
Active Participant
0 Kudos

Hi Sarah,

tell me more about your main step, what's the outbound? If the outbound can be replaced by an atom you can use the B1ip flow atom to manage what secondary steps to trigger...

Kind regards,

Leo.

Former Member
0 Kudos

Hi leo,

My main step is to get back a file from FTP and to create a delivery order in sap with this file. The outbound is the creation of the delivery order so I can't replace it by an atom , do I?

Thanks a lot

Regards

Sarah

former_member202745
Active Participant
0 Kudos

Hi sarah,

yes, you can use the Call B1 Object atom, to add/update and retrieve objects from B1. In case add/update, it returns the result of your request, if was successful or failed. With this atom you can do the scenario above with one step, or use the B1ip biz flow...

Kind regards,

Leo.

Answers (0)