Hi Mike.<div><br></div><div>I hope there is a misconception !</div><div><br></div><div>I am starting a workflow using a creation of an event,</div><div>Until and unless i write the container, how do i pass the value to the workflow container.</div>
<div>I locked it because it was said in one off the forums to lock it as there might be an enqueue error problem in the workitem and someone might change the data in a later case.</div><div><br></div><div>Thanks,</div><div>
shankar</div><div><br><div class="gmail_quote">On Mon, Jan 16, 2012 at 12:46 PM, Mike Pokraka <span dir="ltr">&lt;<a href="mailto:wug@workflowconnections.com">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">
Your approach is flawed on several fronts:<br>
1. Simply Unlocking something because it&#39;s locked is dangerous. There&#39;s a<br>
reason a process locks something - to keep others away from data that&#39;s<br>
being changed!<br>
2. There&#39;s a workflow container for passing data into workflows, you<br>
should not need to write to the container.<br>
3. Starting workflows directly is not a preferred option, usually events<br>
should be used.<br>
<br>
Regards,<br>
Mike<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Sat, January 14, 2012 1:55 am, Sree S wrote:<br>
&gt; Hi<br>
&gt; All.<br>
&gt;<br>
&gt; I am calling a workflow from a module pool program.<br>
&gt; the workitem in the workflow is being sent to multiple approvers...<br>
&gt;<br>
&gt; When i am trying to write the workflow container with the values i have as<br>
&gt; per the current selection in the module pool.<br>
&gt;<br>
&gt; I am getting an error, that the workitem is locked by user.<br>
&gt; It says that - Enqueue Error.<br>
&gt; when i am trying to unlock the workitem using FM &#39; DEQUEUE_E_WORKITEM&#39;. it<br>
&gt; doesnt work and nothing happens,<br>
&gt;<br>
&gt; I am trying to write the workitem container as I need to complete the<br>
&gt; workitem with the required values from module pool program and which has<br>
&gt; to<br>
&gt; be passed to the rest of the process in the workflow.<br>
&gt;<br>
&gt; Can you one guide me in what can be done as an alternate rather the<br>
&gt; existing FM.<br>
&gt;<br>
&gt; Please help me !<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Shankar<br>
</div></div><div class="HOEnZb"><div class="h5">&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>
_______________________________________________<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><br clear="all"><div><br></div>-- <br>shankar<br>
</div>