Background Workflow task hanging

Rick Bakker rbakker at gmail.com
Fri Aug 13 14:52:54 EDT 2010


Hi Sue,

If it's just selecting then it shouldn't be locking anything.
Have a look at the Exceptions of the method, are there any marked as
temporary?

It's also strange that no warnings or errors are showing in the workflow log
- can you double check?
Temporary errors show up as warnings (yellow triangles).
regards
Rick Bakker
Hanabi Technology
On Fri, Aug 13, 2010 at 12:53 PM, Sue Doughty <Sue.Doughty at odfl.com> wrote:

>  Thanks Rick for your response.
>
>
>
> The method is sending in the Drug EXAM_DATE (which is an attribute of our
> BO ZAPPLICANT – APPLICANT.EXAMINATIONDATE).  It figures out the number of
> days since the drug test (DAYS = SY-DATUM - EXAM_DATE.).  If the difference
> is less than 30 days, it sets the DATE_FLAG = T, otherwise the DATE_FLAG =
> F.
>
>
>
> If someone had the Applicant record open in update mode when this
> background task is running, the method should be able to determine the BO
> attributes anyway, shouldn’t it?
>
>
>
> Regards,
>
> Sue
>
>
>  ------------------------------
>
> *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On
> Behalf Of *Rick Bakker
> *Sent:* Friday, August 13, 2010 12:59 PM
>
> *To:* SAP Workflow Users' Group
> *Subject:* Re: Background Workflow task hanging
>
>
>
> Hello Sue,
>
>
>
> That is exactly the expected behaviour if the method was throwing a
> temporary error. What does the method do - does it try to lock anything?
>
> If a temporary error occurs then it tries again upon the next run of
> RSWWERRE, usually 20 mins later.
>
>
>
> regards
>
> Rick Bakker
>
> Hanabi Technology
>
> On Fri, Aug 13, 2010 at 11:46 AM, Sue Doughty <Sue.Doughty at odfl.com>
> wrote:
>
> We have a workflow that gets executed probably 100 times a day.
>
>
>
> There is a background task in that workflow that gets executed that reads
> the PA0041 table looking for the Drug Exam date for an Applicant.  This task
> also executes numerous times a day.
>
>
>
> Sometimes the task executes fine – within a second:
>
>
>
>
>
>
>
> But sometimes it takes 20 – 30 minutes to execute and it looks like it only
> finishes because RSWWERRE has run.
>
>
>
> This happens with this task about once a week.  It only seems to happen
> with this task….not with any other background task.   Does anyone know what
> is happening or where I can go to see why this task is hanging?
>
>
>
> Regards,
>
> Sue
>
>
>  ------------------------------
>
> *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On
> Behalf Of *Mehar Lakshmi Tetala
> *Sent:* Wednesday, August 04, 2010 2:57 AM
> *To:* sap-wug at mit.edu
> *Subject:* Re: SAP-WUG Digest, Vol 69, Issue 2
>
>
>
> Hi Srini,
>
>
>
> For dynamic multi line text in Task description, you will have to definie a
> multiline container element both in workflow and task.
>
> And feed the element with the required multi line texts in a back-ground
> method.
>
>
>
> When you are inserting the container element in Task description use the
> expression &ELEMENT##&
>
>
>
> - Mehar
>
> On Tue, Aug 3, 2010 at 9:35 PM, <sap-wug-request at mit.edu> wrote:
>
> Send SAP-WUG mailing list submissions to
>        sap-wug at mit.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mailman.mit.edu/mailman/listinfo/sap-wug
> or, via email, send a message with subject or body 'help' to
>        sap-wug-request at mit.edu
>
> You can reach the person managing the list at
>        sap-wug-owner at mit.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SAP-WUG digest..."
>
>
> Today's Topics:
>
>   1. Re: Display multiple lines in work item description
>      (Kjetil Kilhavn)
>   2. error while calling text element in workk item text (srinivas)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 3 Aug 2010 07:09:50 +0200
> From: Kjetil Kilhavn <kjetil.kilhavn at bluec.no>
> Subject: Re: Display multiple lines in work item description
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID: <201008030709.50522.kjetil.kilhavn at bluec.no>
> Content-Type: text/plain;  charset="iso-8859-15"
>
> Mandag 2. august 2010 15.14.36 skrev srinivas:
> > I have a requirement wherein I need to display multiple lines in the
> > workitem description. The workitem description is dynamic and brought
> from a
> > custom method it varies from customer to customer. I have a created
> multiner
> > container element &long_text& and I am directly calling &long_text&  in
> the
> > workitem description
> The container element needs to be inserted in the work item description as
> a
> table instead of a single-line element. Use the assistant (toolbar button
> "Expression") to insert it, and you'll be asked if you want to insert only
> the
> first line - as you have done, all lines as continous text or all lines
> with
> line breaks. You will then see that the expression to use when you want to
> insert all lines from multiline container element TABLE is either &TABLE[]&
> or
> &TABLE##&.
> --
> Kjetil Kilhavn (+47 40220607)
> Blue Consulting AS (http://www.bluec.no)
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 3 Aug 2010 15:04:02 +0530
> From: srinivas <ootasrinivasreddy at gmail.com>
> Subject: error while calling text element in workk item text
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID:
>        <AANLkTikFcnS8XM+Sj3g-e0b9c9NqaCSwZY8BcHaKEfQn at mail.gmail.com<AANLkTikFcnS8XM%2BSj3g-e0b9c9NqaCSwZY8BcHaKEfQn at mail.gmail.com>
> >
> Content-Type: text/plain; charset="gb2312"
>
> Hi Experts,
>
> I am calling a text element in workitem text using the following syntax.
>
> *INCLUDE &TEXT_NAME& OBJECT &OBJECT& ID &TEXT_ID& LANGUAGE
> &LANGUAGE&.*Selecting command line option.i.e.
> * /:*
>
> All the elements in between & & are binded from a class method. When I do
> the syntax check I am getting the following error.
>
>
> *Variable &_????????.??????????.????& exists in description text Completion
> text, but
> not in the container*
>
> I am unable to understand where I am doing wrong.Kindly help me in fixing
> this error.
>
>
> --
> Thanks and Regards
> Srini..
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/sap-wug/attachments/20100803/6e9b17c5/attachment-0001.htm
>
> ------------------------------
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> End of SAP-WUG Digest, Vol 69, Issue 2
> **************************************
>
>
>
>
> --
> Thanks & Regards
>
> Mehar Lakshmi
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20100813/1ebb3a28/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 55522 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20100813/1ebb3a28/attachment.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 62518 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20100813/1ebb3a28/attachment-0001.jpg


More information about the SAP-WUG mailing list