Workitem Locked by user - unlocking not being possible

Sree S to2sree at gmail.com
Mon Jan 16 11:10:17 EST 2012


Hi Mike.

I hope there is a misconception !

I am starting a workflow using a creation of an event,
Until and unless i write the container, how do i pass the value to the
workflow container.
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.

Thanks,
shankar

On Mon, Jan 16, 2012 at 12:46 PM, Mike Pokraka
<wug at workflowconnections.com>wrote:

> Your approach is flawed on several fronts:
> 1. Simply Unlocking something because it's locked is dangerous. There's a
> reason a process locks something - to keep others away from data that's
> being changed!
> 2. There's a workflow container for passing data into workflows, you
> should not need to write to the container.
> 3. Starting workflows directly is not a preferred option, usually events
> should be used.
>
> Regards,
> Mike
>
>
> On Sat, January 14, 2012 1:55 am, Sree S wrote:
> > Hi
> > All.
> >
> > I am calling a workflow from a module pool program.
> > the workitem in the workflow is being sent to multiple approvers...
> >
> > When i am trying to write the workflow container with the values i have
> as
> > per the current selection in the module pool.
> >
> > I am getting an error, that the workitem is locked by user.
> > It says that - Enqueue Error.
> > when i am trying to unlock the workitem using FM ' DEQUEUE_E_WORKITEM'.
> it
> > doesnt work and nothing happens,
> >
> > I am trying to write the workitem container as I need to complete the
> > workitem with the required values from module pool program and which has
> > to
> > be passed to the rest of the process in the workflow.
> >
> > Can you one guide me in what can be done as an alternate rather the
> > existing FM.
> >
> > Please help me !
> >
> > Thanks,
> > Shankar
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>



-- 
shankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20120116/9d82a72e/attachment.htm


More information about the SAP-WUG mailing list