Workitem Locked by user - unlocking not being possible

Mike Pokraka wug at workflowconnections.com
Tue Jan 17 11:47:38 EST 2012


Spot on Margaret, saved me writing exactly that :-)

On Tue, January 17, 2012 2:07 pm, Hilsbos, Margaret A wrote:
> If the data is available at the time the event is raised: Does the event
> have a parameter that you can pass? If not, might it be worth creating a
> custom event that has the parameter(s) you need? If you use event
> parameters, that data is passed to the workflow when you raise the event.
>
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
> Of Sree S
> Sent: Monday, January 16, 2012 11:10 AM
> To: SAP Workflow Users' Group
> Subject: Re: Workitem Locked by user - unlocking not being possible
>
> 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<mailto: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<mailto:SAP-WUG at mit.edu>
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>
> --
> shankar
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>




More information about the SAP-WUG mailing list