Infinite loop in PR workflow even if the document is now APPROVED

Hi everyone,
Our PR workflow experiences a confusion in the document's status.
A loop is being executed even if the PR document is now being APPROVED. The template, maybe, doesn't correctly read the status of the PR. Since the loop still runs, the approver is being Notified thru SAP inbox several times and this has caused the approver a sense of inconvenience and disturbance.
Please guide me on what to do.
Regards,
Reymar

Good day Aditya!
There is indeed a loop in the WF definition. It sends a workitem to SAP inbox of the approver even after it is being APPROVED already.
I checked the condition of the loop, but it is correctly defined there.
I am looking at the reason that maybe this is on the synchronization issue. I mean, the statuses both of the documents and on the workflow side do not correlate or are different.
Can I use the SWU_OBUF in PROD?
Regards,
Reymar

Similar Messages

  • When I wanted to update the programs, it said that there was an error, and it still says so. I cant even see the different programs now

    When I wanted to update the programs, it said that there was an error, and it still says so. I cant even see the different programs now

    I have exactly the same problem here too. Followed all of the discussions and still unable to access programs

  • Adjust SC recjected - The document is in approval

    Hi Experts
    We are on SRM 7.0, using Process Controlled workflow for Shopping Cart approvals.
    I have uploaded BC 3EV_SC_600_601. 1 step.
    The requester save a SC, and the authorization work item is send to the approval.
    THe approval, recives the work item. He press "Reject".
    THe requester, hasn't UWL roles. WHen he displays the sc, he can see "In Yor Inbox", the work item
    with the decision "Accept or Adjust". When the requester select "Adjust", there is an information
    message:
    "The document is in approval.
    Any document changes may lead to an adaptation of workflow process."
    How can I avoid this information message?
    When I display the SC, under the tab "Authorization process", i can see that the column "Responsible" is empty...
    Any idea??
    Thank you so much in advance!!
    best regard,
    Marí

    Hi Maria,
    What you have mentioned is very standard. The accept/change  decision can happend only through UWL. In case you want to accept the decision  through SC POWL query which is nothing but check status , you will have to recall workflow and the order it again.
    so ideally requestor should also have UWL authorization or setting for him to accept / review documnets  which comes to him  wither through reject or inquire fuctionlaity.
    Thanks
    Iftekhar Alam

  • Hello. On my Macbook air late 2013 model I am having a problem where microsoft word for mac just stops working for soon reason and at the screen where the document should be is just gray and does not even display the document. Does anybody have a fix?

    Hello. On my MacBook Air late 2013 model I am having a problem with Microsoft office word for Mac where the window for the document becomes all gray and I can not see anything that I have typed or any menus for it and also windows will sometimes dissapear and I am having truble getting them back. If anyone has anyideas of what is going on or could even help me thank you.

    Glad that helped.
    As time goes by (months or years), keep your eyes on how long Microsoft continues to support Office 2011 for Mac.  Eventually you should consider Office 365 or Apple's Pages, Numbers, and Keynote.

  • When I want to download anything even pdf's it automatically converts it to a word document, so I cannot even see the documents, pictures, forms or anything. Thank you

    When downloading anything Firefox downloads it as a word document causing the document to appear as letter and numbers without sense. Firefox has done it for all documents that as pdf's are in a site, so I can not save them or downloaded, but not even read them.

    When downloaded Adobe reader, a Fire Fox down loader window appeared and after several minutes a message said that it was downloaded, but a run window never appeared, so I clicked on the program (on that little fire fox downloader window) and it opened a word document with encoded letter. AGAIN!

  • Why do external forms that I open (usually attached in an email) have all type of color problems. I usually cannot even read the document

    Why do external forms that I open (usually attached in an email) have all type of color problems. I usually cannot even read the document

    Hi,
    What is the exact name of the desktop app you have?  Is it "Acrobat Reader DC", "Acrobat Pro DC" or "Acrobat Standard DC"?
    (Previously, your question was posted to the wrong forum - the Reader/Acrobat DC mobile forum.)
    If you have the paid product ("Acrobat Pro DC" or "Acrobat Standard DC"), you can contact Adobe Customer Care.
    Contact Customer Care
    If you have the free product ("Acrobat Reader DC"), Adobe Customer Care will redirect you to the user forum like this one.  You just need to wait for someone (who is an experienced user but not necessarily an Adobe employee) to answer your question in the right user forum.
    You may also try looking for answers for the same or similar problems by Google search.

  • Starting sharepoint workflow progmatically from more than one workflow attached in the document library, depending on the input parameter

    Hi,
    I have to develop multiple sequential workflows. Depending on the user input at the time of workflow start, I have to decide which workflow will kick start. I am using visual studio to develop my sequential workflow. Is it possible to achieve this?
    So, at the time document added to the document library, depending on the library column values Workflow1, worflow2 or workflow3 will start.
    Thanks

    Hi,
    According to your post, my understanding is that you want to start workflow based on the library field value.
    We can use the ItemAdded event receiver to achieve this scenario.
    When the document added to the document library, then use the properties.ListItem[“FieldName”] to check which value filled.
    Then based on different field value to start different workflow.
    More reference:
    http://jainnitin2411.wordpress.com/2012/07/06/programmaticallystartsharepointworkflow/
    http://chakkaradeep.com/index.php/sharepoint-2010starting-site-workflows-programmatically/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Unable to update apps on iPad mini. I have even restored the iPad and now I can't download any of my previously purchased apps.

    Can someone help me. I am using an iPad mini with iOS 7.0.4 with wifi connection. Have had no problems until recently when I was unable to update apps and then noticed that some apps would open but no data would be available in apps like intelicast and Pinterest. I have restored the iPad and now I am unable to download any of my previously purchased apps.

    1. Make sure iPad is using the latest software
    2. Settings>General>Date and Time>Set Automatically>On
    3. Make sure Time Zone is correct
    4. Reset iPad. Hold the Sleep and Home button down until you see the Apple Logo.

  • When debugging, a for loop is not entered even though the number 6 is passed to "N".

    I cannot figure out why a for loop is not entered when I debug it. When debugging a value of 6 is clearly passed to "N", the number of iterations the loop is supposed to execute. So when I debug, execution highlighting just parses right over the loop, even though I request to enter the loop. Everything inside of the loop is not executed. Have you experienced this before? - Any ideas?

    As mentioned by "eh" auto-indexed arrays that are empty will cause this.
    A "FOR loop" will itereate as many times as is indicated by the smallest number elements in any of its auto-indexed inputs.
    When you watch it in execution-highlighting, you probably will see a "0" coming in on an auto-indexed input.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Suddenly, all my saved Excel Worksheets are opening as Numbers documents, even though I've NEVER used the Numbers application, and even though the documents continue to be identified as Excel documents--losing years of work.  What happened?

    How can I uninstall Numbers?  I've never used the Numbers application before, and suddenly all my saved Excel Worksheets are opening as Numbers documents, even though they continue to be identified as Excel documents?  I'm losing years of work.

    Right click on a Excel Worksheet file, choose 'Get Info'. In the small window that opens change the 'Open with:' from Numbers to Excel. Click on 'Change All…'

  • I have a Macbook pro thats prints fine to my HP printer, but when I try and print from my iMac it doesnt see the pages and just prints two blank pages. Even thou the document is a number of pages

    I have a HP Officejet Pro 8500A and I had no problems printing to it from my Mac or Macbook pro. The macbook is wifi and the Mac is cable, I have recently had the printer replaced with an exact model. Since doing that I can only print from the macbook pro, when I try and print from teh mac it doesnt see the pages. It could be a 10 page document and it will just show two blank pages. I have googled the question and have tried deleating the printer and reinstalling without any luck. When I got the new printer I insalled all the latest drivers thats the only thing different.
    Could you please help
    Michelle

    Right click the printer in System Prefences -  Print & Scan and use Reset Printing System... and then reinstall the printer, should take less than 5 minutes. Here is a photo showing how to Reset Printing System....

  • Updated original iPhone to OS 3.0 don't even have the App Icon now!

    Updated original iPhone to OS 3.0 now most APPs are missing ? !
    Anything I can do?

    Are they not on another page?
    Swipe to another home page.

  • Triggering event FMRE-CREATED in an infinite loop

    Hi guys,
    Iu2019m having a big problem in Public Sector Management with Founds Management Government when I create a Found reservation Tcode FMX1.
    My problem is the triggering event FMRE-CREATED  (event to start the Workflow) because when the document is created, this event is generated by the system which is fine, but inside on my Workflow I have a task to change the status with FMRE-SetLock, when this method is executed, automatically trigger an event FMRE-CREATED again, so my WF gets in a infinite loop.
    How can I tell the system to donu2019t trigger this event when the status is changed?
    Thanks a lot
    Felipe Uribe.

    Hi,
    but inside on my Workflow I have a task to change the status with FMRE-SetLock, when this method is executed, automatically trigger an event FMRE-CREATED again, so my WF gets in a infinite loop.
    How you changing the status? Check any Function Module or BAPI to change the status.
    You have acheive it via Start Condition, check are you getting entry in the Table  SWFREVTLOG for Creation.
    If second time creating, check for the entry in the table, if found not allow it.
    Regards,
    Surjith

  • SQL stored procedure Staging.GroomDwStagingData stuck in infinite loop, consuming excessive CPU

    Hello
    I'm hoping that someone here might be able to help or point me in the right direction. Apologies for the long post.
    Just to set the scene, I am a SQL Server DBA and have very limited experience with System Centre so please go easy on me.
    At the company I am currently working they are complaining about very poor performance when running reports (any).
    Quick look at the database server and CPU utilisation being a constant 90-95%, meant that you dont have to be Sherlock Holmes to realise there is a problem. The instance consuming the majority of the CPU is the instance hosting the datawarehouse and in particular
    a stored procedure in the DWStagingAndConfig database called Staging.GroomDwStagingData.
    This stored procedure executes continually for 2 hours performing 500,000,000 reads per execution before "timing out". It is then executed again for another 2 hours etc etc.
    After a bit of diagnosis it seems that the issue is either a bug or that there is something wrong with our data in that a stored procedure is stuck in an infinite loop
    System Center 2012 SP1 CU2 (5.0.7804.1300)
    Diagnosis details
    SQL connection details
    program name = SC DAL--GroomingWriteModule
    set quoted_identifier on
    set arithabort off
    set numeric_roundabort off
    set ansi_warnings on
    set ansi_padding on
    set ansi_nulls on
    set concat_null_yields_null on
    set cursor_close_on_commit off
    set implicit_transactions off
    set language us_english
    set dateformat mdy
    set datefirst 7
    set transaction isolation level read committed
    Store procedures executed
    1. dbo.p_GetDwStagingGroomingConfig (executes immediately)
    2. Staging.GroomDwStagingData (this is the procedure that executes in 2 hours before being cancelled)
    The 1st stored procedure seems to return a table with the "xml" / required parameters to execute Staging.GroomDwStagingData
    Sample xml below (cut right down)
    <Config>
    <Target>
    <ModuleName>TransformActivityDim</ModuleName>
    <WarehouseEntityName>ActivityDim</WarehouseEntityName>
    <RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName>
    <Watermark>2015-01-30T08:59:14.397</Watermark>
    </Target>
    <Target>
    <ModuleName>TransformActivityDim</ModuleName>
    <WarehouseEntityName>ActivityDim</WarehouseEntityName>
    <RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName>
    <ManagedTypeViewName>MTV_Microsoft$SystemCenter$Orchestrator$RunbookAutomationActivity</ManagedTypeViewName>
    <Watermark>2015-01-30T08:59:14.397</Watermark>
    </Target>
    </Config>
    If you look carefully you will see that the 1st <target> is missing the ManagedTypeViewName, which when "shredded" by the Staging.GroomDwStagingData returns the following result set
    Example
    DECLARE @Config xml
    DECLARE @GroomingCriteria NVARCHAR(MAX)
    SET @GroomingCriteria = '<Config><Target><ModuleName>TransformActivityDim</ModuleName><WarehouseEntityName>ActivityDim</WarehouseEntityName><RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName><Watermark>2015-01-30T08:59:14.397</Watermark></Target><Target><ModuleName>TransformActivityDim</ModuleName><WarehouseEntityName>ActivityDim</WarehouseEntityName><RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName><ManagedTypeViewName>MTV_Microsoft$SystemCenter$Orchestrator$RunbookAutomationActivity</ManagedTypeViewName><Watermark>2015-01-30T08:59:14.397</Watermark></Target></Config>'
    SET @Config = CONVERT(xml, @GroomingCriteria)
    SELECT
    ModuleName = p.value(N'child::ModuleName[1]', N'nvarchar(255)')
    ,WarehouseEntityName = p.value(N'child::WarehouseEntityName[1]', N'nvarchar(255)')
    ,RequiredWarehouseEntityName =p.value(N'child::RequiredWarehouseEntityName[1]', N'nvarchar(255)')
    ,ManagedTypeViewName = p.value(N'child::ManagedTypeViewName[1]', N'nvarchar(255)')
    ,Watermark = p.value(N'child::Watermark[1]', N'datetime')
    FROM @Config.nodes(N'/Config/*') Elem(p)
    /* RESULTS - NOTE THE NULL VALUE FOR ManagedTypeViewName
    ModuleName WarehouseEntityName RequiredWarehouseEntityName ManagedTypeViewName Watermark
    TransformActivityDim ActivityDim MTV_System$WorkItem$Activity NULL 2015-01-30 08:59:14.397
    TransformActivityDim ActivityDim MTV_System$WorkItem$Activity MTV_Microsoft$SystemCenter$Orchestrator$RunbookAutomationActivity 2015-01-30 08:59:14.397
    When the procedure enters the loop to build its dynamic SQL to delete relevant rows from the inbound schema tables it concatenates various options / variables into an executable string. However when adding a NULL value to a string the entire string becomes
    NULL which then gets executed.
    Whilst executing "EXEC(NULL)" would cause SQL to throw an error and be caught, executing the following doesnt
    DECLARE @null_string VARCHAR(100)
    SET @null_string = 'hello world ' + NULL
    EXEC(@null_string)
    SELECT @null_string
    So as it hasnt caused an error the next part of the procedure is to move to the next record and this is why its caught in an infinite loop
    DELETE @items WHERE ManagedTypeViewName = @View
    The value for the variable @View is the ManagedTypeViewName which is NULL, as ANSI_NULLS are set to ON in the connection and not overridded in the procedure then the above statement wont delete anything as it needs to handle NULL values differently (IS NULL),
    so we are now stuck in an infinite loop executing NULL for 2 hours until cancelled.
    I amended the stored procedure and added the following line before the loop statement which had the desired effect and "fixed" the performance issue for the time being
    DELETE @items WHERE ManagedTypeViewName IS NULL
    I also noticed that the following line in dbo.p_GetDwStagingGroomingConfig is commented out (no idea why as no notes in the procedure)
    --AND COALESCE(i.ManagedTypeViewName, j.RelationshipTypeViewName) IS NOT NULL
    There are obviously other ways to mitigate the dynamic SQL string being NULL, there's more than one way to skin a cat and thats not why I am asking this question, but what I am concerned about is that is there a reason that the xml / @GroomingCriteria is incomplete
    and / or that the procedures dont handle potential NULL values.
    I cant find any documentation, KBs, forum posts of anyone else having this issue which somewhat surprises me.
    Would be grateful of any help / advice that anyone can provide or if someone can look at their 2 stored procedures on a later version to see if it has already been fixed. Or is it simply that we have orphaned data, this is the bit that concerns most as I dont
    really want to be deleting / updating data when I have no idea what the knock on effect might be
    Many many thanks
    Andy

    First thing I would do is upgrade to 2012 R2 UR5. If you are running non-US dates you need the UR5 hotfix also.
    Rob Ford scsmnz.net
    Cireson www.cireson.com
    For a free SCSM 2012 Notify Analyst app click
    here

  • Infinite Loop Gui Problem

    Hi all,
    Well basically I have 3 classes; one is called the loader which has the main function and all it does is call the second class which is the GUI class. This class buils up the GUI. The Third class however is a class which has an infinite loop inside until a button on the GUI is clicked. HOWEVER... due to the infinite loop, the GUI stays inactive until the loop ends which basically is like having a crashed GUI and thus the button can never be clicked!!
    What do you suggest? Shall the loader load the third class and the third class loads up the GUI? Or is that not practical?
    Thanks all

    Hi again,
    I still have a similar problem.
    basically whats happening is...
    From the GUI I launch a class with an infinite loop !!
    Part of the Loop is to await a connection and when connected, a new Class is again launched, it processes and closes itself, and returns back to the infinite loop !!
    I would like to know how I can Detach from the infinite loop to keep the GUI working...
    thanks all

Maybe you are looking for

  • Cannot Connect to iTunes OR Download New Copy.  Please Help!

    I was trying to update my account information earlier today when I noticed I couldn't log into my account info or the iTunes store. I figured it was a temporary problem, but no luck as of a moment ago. I get an error message saying the session timed

  • Cangjie input error?

    Trying to type the character (難) on iPhone 4. The code supposes to be 廿人人土. But instead, only another character was shown as the option. Anyone know why?

  • Xorg & Openbox help

    So I've been trying to solve these issues via IRC for a while, but perhaps I will get some help here. Keep in mind I am very new to Linux (but willing to learn)... so try speaking to me like I'm a 4 year old or your grandparents, otherwise I might be

  • RH HTML 10 - My RH7 arabic project not handling italic tags in RH10

    After upgrading a project from RH7 to RH10, the Webhelp output for Arabic is not handling italic text that was accepted previously. Image below shows "boxes" circled in red on the left for RH10 output, vs. good RH7 output circled on the right. I'll b

  • Link between Excise Invoice & Cenvat Utilization

    Hi All, After the creation if Sales excise invoice in case of exports, cenvat credit utilization is run fortnighly/Monthly from J2IUN. In the process, we enter the excise invoice for which cenvat credit is to be utilized. Then against each BED, ECS &