cancel
Showing results for 
Search instead for 
Did you mean: 

How to start workflow with condition on document type?

Former Member
0 Kudos

I would like to start a workflow for MaintenanceNotification BUS2038. It is invoked when event Created occurs.

Everything works but I would like to start the workflow only for specific document type of notification.

How to do that?

thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check your business object attribute in workflow log.

If the attribute for Notification type is populated then you can use start condition in the workflow.

Go to Basic data in the workflow Template, thers is button called condition. Just click it and it will take you to the condition editor.

Just define your Condition in the condition Editor. If it is true then the workflow will trigger. Otherwise workflow will not trigger.

Thanks,

Viji.

Former Member
0 Kudos

Thank you for a good hint. I go to PFTC and I edit my Workflow Template, I cannot see any Condition button.

Former Member
0 Kudos

Hi,

I think in PFTC, you cannot set the Condition. But in SWDD -> Basic Data you can set the start condition.

Thanks.

former_member197703
Participant
0 Kudos

As Viji Mentioned go through SWDD.

Or you can use Transaction SWB_COND to specify your start condition for your Workflow.

Regards,

Vaibhav

Former Member
0 Kudos

Thank you!

Former Member
0 Kudos

I am giving you example ,,,could you please help me on this?

JP Aguirre received three e-mails from SAP in the inbox of his Business Workplace in SAP for releasing the three purchase requisition numbers 103627, 103629 and 103647. All three purchase requisitions had already been signed by him in the past, all three purchase requisitions show "release compete"; the last purchase requisition number 103647 even has a purchase order number 1006250203 and the goods were received on 02-JUL-2010.

So, why JP Aguirre receives again the e-mails from SAP for making the release of the purchase requisitions?

Former Member
0 Kudos

Sandeep,

You need to create a new thread for your problem. Review your workflow template design as to why JP is getting the e-mail.

Answers (1)

Answers (1)

Former Member
0 Kudos

why dont you use check function module?

Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hey san_dell_1 Just as a general comment: a start condition is usually MUCH easier than writing a check function module - because the check function module is already written for you. Or in other words, why code when you can simply configure? As a start condition uses a logical expression most scenarios that we used to have to create check function modules for can be covered by simply adjusting the logical expression. And you get clear messaging on the Event log to show you whether or not the condition was passed or failed.

Regards,

Jocelyn