cancel
Showing results for 
Search instead for 
Did you mean: 

Decision step in process chain

0 Kudos

I have a decision step in my process chain,

Command:

if(DATE_WEEKDAY1(Current Date) )= 5 (on friday option 1 will trigger)

then option 1

Else (in else condition other than friday ) it showing as error...

Here i want to skip the step in else condition instead of error.....

Can anyone tell me how to solve this???

lenastodal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi and welcome to the SAP Community!

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers (if you haven't already), as it provides tips for preparing questions that draw responses from our members. For example, you can outline what steps you took to find answers (and why they weren't helpful) and share screenshots of what you've seen/done. The more details you provide, the more likely it is that members will be able to assist you.
Should you wish, you can still edit your question.
Finally, if you're hoping to connect with readers, please consider adding a picture to your profile as it encourages readers to respond to you. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS.

Best,
Lena
SAP Community Moderator

Accepted Solutions (1)

Accepted Solutions (1)

DebjitSingha
Active Contributor
0 Kudos

Hello vaishnavithoutam,

You do not need to add anything to error. Instead select option 1 and option 2. For instance if you use IF and Else setup then you can remove the Else condition completely or do not map "else" to anything.

Here is an example that may help you.

Hope this helps.

Viewers - If you find above information helpful, feel free to up-vote.

Thanks,

Debjit

0 Kudos

Hi Debjit, thanks for the solution... It's really helpful

DebjitSingha
Active Contributor
0 Kudos

you are welcome 🙂

Answers (1)

Answers (1)

sdsunny372
Active Participant

Hi Vaishanavi,


You just need to add "OR" as option 2 instead of "Error" in decision from general service.

So Decision step will be connected to options 1( Friday ) and Option 2(OR step- It's just step ).

So if you 1st option will not satisfy it will trigger option 2 (OR) and you will get green status apart from Friday.

Let me know incase of any queries.

Best regards,

Sagarkumar Darji.

0 Kudos

Hi Sagarkumar Darji, thanks for the solution