<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body dir="auto">
<div>Hi Mike</div>
<div>Many moons ago we wrote an event receiver function module that converted a BOR event into a OO event which saves creating event only workflows</div>
<div>Just a thought</div>
<div>Rgds</div>
<div>Jocelyn</div>
<div><br>
Sent from my iPad</div>
<div><br>
On 9 May 2015, at 6:49 am, Rick Bakker &lt;<a href="mailto:rbakker@gmail.com">rbakker@gmail.com</a>&gt; wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hi Mike,
<div><br>
</div>
<div>How about have each of the wait events listed as a start event of a workflow whose only step is to create a generic event to be picked up by your main workflow?</div>
<div><br>
</div>
<div>regards</div>
<div>Rick</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, May 8, 2015 at 10:20 AM, Mike Pokraka <span dir="ltr">
&lt;<a href="mailto:wug@workflowconnections.com" target="_blank">wug@workflowconnections.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Florin,<br>
<br>
Nice idea, I like it. It's sortof between my option 1 and 2 but cleaner.<br>
<br>
Another approach I'm considering is a bit more radical. It's a hybrid BOR<br>
and OO workflow precisely because of a multitude of events from Status<br>
Management, which still doesn't do OO-WF. I kept BOR in the WF because I<br>
had it in my head that I could do dynamic waits for events straight from<br>
BSVW config.<br>
<br>
If the eventing in WF is too complex, I'm thinking an event forwarder into<br>
a pure OO workflow right from the beginning is probably better. With a bit<br>
of subclassing*, I can reduce it to 3 or 4 event waits and a little<br>
consolidation logic in the event forwarder code.<br>
<br>
Still pondering, will post back what I finally decide on. Still open to<br>
other suggestions.<br>
<br>
Thanks,<br>
Mike<br>
<br>
* - Dang, I forgot to add support for OO interfaces into the customer<br>
connection suggestions!<br>
<div class="HOEnZb">
<div class="h5"><br>
<br>
On Fri, May 8, 2015 5:23 pm, Florin Wach (SI) wrote:<br>
&gt; Hi Mike,<br>
&gt;<br>
&gt; as I'm on the train, here's the short version after having thought about<br>
&gt; some alternatives:<br>
&gt;<br>
&gt; Instead of a Wait step, create a subflow with a single asynchronous<br>
&gt; background step that executes a dummy method.<br>
&gt;<br>
&gt; Within that step you create a container element that is bound to the name<br>
&gt; of the dynamic event you're waiting for.<br>
&gt;<br>
&gt; As terminating events of that task you define once all the possible<br>
&gt; events.<br>
&gt;<br>
&gt; A instance linkage check FM now compares the name of the event with the<br>
&gt; value of that container element of the task.<br>
&gt;<br>
&gt; Have a look at the instance binding of BUS2012.Released where the element<br>
&gt; 'ReleaseCode' is compared.<br>
&gt;<br>
&gt; The subflow has only the reason to avoid 20&#43; outcomes of the task .&nbsp; With<br>
&gt; a subflow it looks more cleaner.<br>
&gt;<br>
&gt;<br>
&gt; Mit freundlichen Gruessen / With kind regards<br>
&gt;&nbsp; &nbsp; Florin Wach<br>
&gt;&nbsp; &nbsp; Senior Workflow Engineer<br>
&gt;&nbsp; &nbsp; Systems-Integration<br>
&gt;<br>
&gt; --------------------------------------------------<br>
&gt; <a href="http://www.systems-integration.net" target="_blank">http://www.systems-integration.net</a><br>
&gt;<br>
&gt;&gt; Am 08.05.2015 um 18:01 schrieb Mike Pokraka<br>
&gt;&gt; &lt;<a href="mailto:wug@workflowconnections.com">wug@workflowconnections.com</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; I bumped into a limitation in the wait step and was wondering if anyone<br>
&gt;&gt; had any more elegant workarounds than my klutzy attempts:<br>
&gt;&gt;<br>
&gt;&gt; What I'd like to do is wait for a dynamic event. It would be easy with a<br>
&gt;&gt; container element for the event name, but unfortunately the Wait step<br>
&gt;&gt; complains that &quot;Event &amp;WAITFORTHIS&amp; does not exist&quot; when I try to insert<br>
&gt;&gt; a<br>
&gt;&gt; container element into the event field of a wait step.<br>
&gt;&gt;<br>
&gt;&gt; Background:<br>
&gt;&gt; The WF can be started by a variety of events. Depending on triggering<br>
&gt;&gt; event, there will be a variety of different events to wait for.<br>
&gt;&gt;<br>
&gt;&gt; Some approaches I've considered are:<br>
&gt;&gt; 1. A bunch of parallel wait branches and a series of switches to<br>
&gt;&gt; de/activate them, but that's nasty (20&#43; events).<br>
&gt;&gt; 2. The start event triggers a second workflow (one for each scenario),<br>
&gt;&gt; which only waits for the relevant reactors and then signals the main WF<br>
&gt;&gt; with a secondary event. Ugly.<br>
&gt;&gt; 3. Custom event receiver module in the event linkage table to manipulate<br>
&gt;&gt; the relevant workflow. Obscure.<br>
&gt;&gt;<br>
&gt;&gt; I can't help thinking there must be a better way :-)<br>
&gt;&gt;<br>
&gt;&gt; Any input appreciated,<br>
&gt;&gt; Mike<br>
&gt;&gt; (Cross-posted on WUG and SCN)<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; SAP-WUG mailing list<br>
&gt;&gt; <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
&gt;&gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
&gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
&gt;<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>SAP-WUG mailing list</span><br>
<span><a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a></span><br>
<span><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></span><br>
</div>
</blockquote>
</body>
</html>