Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

Dynamic event in a wait step

$
0
0

Hi all,

 

I bumped into a limitation in the wait step and was wondering if anyone had any more elegant workarounds than my klutzy attempts:

 

What I'd like to do is wait for a dynamic event. It would be easy with a container element for the event name, but unfortunately the WF builder complains that "Event &WAITFORTHIS& does not exist" when I try to insert a container element into the event field of a wait step.

 

Background:

The Workflow can be started by a variety of events. Depending on triggering event, there will be a variety of different events to wait for.

 

What I've tried:

Some approaches I've considered are:

  1. A bunch of parallel wait branches and switches to activate them, but that's ugly (20+ events).
  2. The start event triggers a second workflow (one for each scenario), which only waits for the relevant events and then signals the main WF with a secondary event. Nasty, but keeps the main WF neat and manageable.
  3. Custom event receiver module in the event linkage table to manipulate the relevant workflow. Obscure.

 

I can't help thinking there must be a better way :-)

 

Any input appreciated,

Mike

(Cross-posted on WUG and SCN)


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>