Problem in workflow

Hello,
There is an urgent issue regarding workflow. The workflow gets triggered by SWE_EVENT_CREATE from a z-function module. The parameters passed while triggering are Approver1, Approver2, first_approver and payment method. The problem is, In some cases, the workflow fails at the start and workitem doesn't go the 1st approver inbox for a particular user. After 6-7 errors, the triggering event got deactivated automatically.
The data passed to the workflow even in case of error is correct and the binding is also correct.
The scenario is in the production server and cant be simulated in quality server since the same data is working fine in the quality server.
The error log for the document in error shows the folowing error:
Diagnosis
When the work item no. 1160113 sent a response message, an inconsistency was found in the related workflow definition: Node no. 1 has a line but no node definition or step definition.
The respective workflow task (definition no. , version ) may have been changed during the workflow execution in a way which is not allowed.
System Response
The workflow is forced into the error status and stopped.
Procedure
Check and correct the workflow definition. You can display the structure (nodes and lines) of the workflow definition in the workflow builder via the menu function 'Extras' -> 'Techn. information' -> 'Definition structure' and -> 'Runtime structure'.
Extras -> Technical information -> Definition structure or
Extras -> Technical information -> Runtime structure
It may be possible to correct the error by activating the workflow or by using the special function Extras -> Special functions -> Block correction.
The same workflow is working for other users properly.
Can anybody please help me with this. Its really urgent.
Thanks in advance.
Radhika
Edited by: Alvaro Tejada Galindo on Apr 7, 2008 12:42 PM

Hi Radhika,
You can activate the event trace by SWE4 transaction.
After you switch it on, execute your workflow once and check the event trace in SWEL.
Once you open the Event trace, check the following to diagnose the problem:
1. See if the workflow actually got triggered.
2. If yes, go into the details of the WF, and check the technical settings. In this you can actually check at which step the WF failed.
3. Once you determine the erronous step, check the container.
4. Check both the workflow container as well as the task container.
5. check the Bindings between the various containers.
Post the scenario once you have pinpointed the exact or the probable cause.
Hope this helps.
Regards,
Sonal

Similar Messages

  • Problem in Workflow matching step

    Hi,
    I am facing a problem in Workflow matching step. I have user kaushikb assigned to it.
    Execution Type: Any Single, Assignee Type: User and Execution Type: Any Single.
    Match Record Scope: Records vs Records, Strategy: MDM_NAME.
    This Strategy: MDM_NAME is based on 3 rules: MDM_NAME1, MDM_NAME2 and MDM_NAME3.
    MDM_NAME1 is done based on transformations MDM_NAME1[XFM], MDM_NAME2[XFM] and MDM_NAME3[XFM].
    Now my problem is even after matching and merging a large number of records it is not going to
    the next step. Do I need to match and merge all duplicate records? If the Matching process is rerun
    the score becomes less as the same records are compared again. After this the link assume gets activated and then clicking it activates the next step.
    Regards
    Kaushik Banerjee

    Hi Kaushik,
    Match step is an Automated step in the MDM workflow.On selecting this step you need to mention the strategy that needs to run on the records to match them.When you reach the Match step you need to Perform the step to run the mentioned Strategy .
    When you Perform the Match step it will display the Matching result provided you select the Matching mode in MDM data manager.
    You can merge or not merge the matched records Once your Matching is performed by the system, You can move your Workflow to the Next step which is Process.
    When you are selecting Any single as your execution type it means you have more tahn one user for executing this task but you want any single one of them to perform it.
    So whenever you have selected Any single as the excution type for any process .The user accepting to perfrom the task needs to Accept the task .
    So when User1 wants to perform the task he will have to select Accept and then proceed with the task.
    When the owner of the workflow is testing the entire workflow he needs to Assume the task as he is not the Assigned user but the Assumed one.
    So if you have build your workflows correctly and moving in step as explained you should be able to select the next step
    You can follow the below link to understand the process better:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0be83e4-a1e6-2a10-c1be-8395ae948844
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Experiencing problems with workflow- validate step

    I am experiencing problems with workflow->validate step in Hyperion FDM.
    I am not able to export unmapped dimension members to Excel.
    Earlier everything worked fine.
    But now all of a sudden it has become a serious problem.
    when I click Export to Excel,processing starts and it's never coming to an end.
    Every thing is getting stuck up.
    Could any one suggest solution to this as it is delaying my deliverable.

    Try opening excel first, then doing the export from FDM.

  • Problems in workflow builder

    Hi,
    I am facing problems in workflow builder and tasks while i am creating a custom workflow template.
    1) binding between task and workflow does not work. One of the container element value is getting passed from the task to the workflow while others are not getting passed. All these are part of the same binding.
    2) the workflow container elements are not available in the steps of the workflow. eg, in a condition step i am comparing two container elements, it is failing, its taking balnk values. also in send mail step i have included a continer elements in description. i see nothing there. means the container elements are blank for the send mail step.
    3) the binding betw the task and the method simple dissappears (thrd Binding betw task and method dissappears !! )
    kindly provide and advice or suggestions
    thank you very much
    -r

    Hi,
    I have sent a mail to the email address mentioned in your profile. I will try to find a place in sdn where i cud upload the screen shots.
    Yes it look as though the data is not available at the time of the condition step. But how could that be as it is the business object attribute and that has to be available at any point in the workflow  for all the workflow steps. I have used it several times in other workflow templates.
    I have done the following
    created new workflow template and put bus2091-created as start event
    extended business object and added several new attributes and defined each attribute. some of them are virtual and some are database attribute. And while coding the definition of the virtual attribute, which is pretty complex logic, i have used the database attributes of the same business object.
    the first step in the workflow was activity step . in which i called BO method to get soem data. eg frist name, last name of the creator. i did not export anything to the method, only imported the first name, last name because inside the method i use object-_essr-ernam to get the creator user id and then i find the names of this user id
    the second step is the condtion step where i check the attribute of the business object. the attribute which are database attributes are available. but those which are virtual attributes are totally blank.
    when i trigger the workflow, the condition result always fails as there are no values available. and in swi1 i can see that those values are very much there in the business object instance.
    is it so that these attributes are populated later than the time when condition step is called ? if yes, then why does the workflow processing reach the condition step ? it should first process all the initial steps, ie completely instantiate the business object and then it should start the steps of workflow. am i right ?
    is it because i have used the database attributes of the BO in order to build logic in the definition of the virtual attributes ? for eg. instead of using object-_essr-createdby, should i use only object-key-entrysheet. then write select statement on essr table for whatever entrysheet data i want and then carry on with my coding for the virtual attribute ??
    thank you
    r

  • Problem with WorkFlow of Purchase Orders related to non active employees

    Dear all,
    We are running into issues with the WorkFlow when people are linked to a PO who are not anymore an active employee. That will give problems in the workflow as those people are logically not going to goods receipt/invoice reciept/approve those invoices.
    How should we deal with this problem?
    We are thinking about a solution like creating an overview of ALL purchase orders (without Goods Receipt) in which the creator, project manager or project sponsor of that specific PO is not anymore an active employee.
    Could someone please advise the right solution?
    Thanks in advance.

    Experts? Anyone?

  • Having a problem using Workflow to update a field based on ZIP code

    I created a Workflow to update a Yes/No picklist called eligibility based on a Text (Short) field called Applicant ZIP code.
    It's set to update on the Opportunity page:
    Before modified record saved
    And the value function is:
    IIf(InStr("60601_60602",[<stApplicant_Zip_Code_ITAG>|http://forums.oracle.com/forums/]+)>0,"Yes","No")+
    That was a guess of how to try it while relying on my limited MS SQL & Access knowledge.
    It does work correctly using what I did. The problem I have is that I actually need to choose from over 600 ZIP codes. The function window only allows for 256 characters. (And I suspect my way is fairly inelegant for search a multi-thousand character string.)
    Any suggestions?

    I created a Workflow to update a Yes/No picklist called eligibility based on a Text (Short) field called Applicant ZIP code.
    It's set to update on the Opportunity page:
    Before modified record saved
    And the value function is:
    IIf(InStr("60601_60602",[<stApplicant_Zip_Code_ITAG>|http://forums.oracle.com/forums/]+)>0,"Yes","No")+
    That was a guess of how to try it while relying on my limited MS SQL & Access knowledge.
    It does work correctly using what I did. The problem I have is that I actually need to choose from over 600 ZIP codes. The function window only allows for 256 characters. (And I suspect my way is fairly inelegant for search a multi-thousand character string.)
    Any suggestions?

  • Problem in workflow with WF-BATCH

    Hi All,
    we have a problem in the workflow user WF-BATCH where the validity was expired and the workflow stopped working. we found the problem after a day and extended the validity and the workflow started working again. But all the interfaces related with this workflow stopped receiving the data when workflow was not working. now we want to restore the data which was not sent.
    Is there any standard process where in we can retrigger all the data that was not sent during the time the workflow stopped working.
    If anyone faced similar scenarios please suggest me what can be done...
    Thanks,
    Anil

    Hi,
    May bee some one have locked that material using workflow in the background and had not unlocked it. If we are using workflow in background user WF_BATCH will execute the function.
    You should unlock that material and than use it.
    Regards,
    Ramu N.

  • Problem with workflow to control mitigating RAR to CUP

    We have configured in RAR, the workflow to send request for approval of Mitigation Owner using CUP Workflow. For Mitigation Control Using RAR  work fine, but unfortunately when we mitigated the Risks through the CUP request,  the workflow of Mitigation Control was not started.
    Workflow: USER > MANAGER > ROLE OWNER.
    Workflow with risk: USER>MANAGER> MITIGATION OWNER> ROLE OWNER (We have problem to send the request for Mitigation Owner).
    In the attached file has the details of this problem.
    Let me know if you need any other information.
    Best Regards,
    William Pantaleao

    Yes, it is configured correctly misc.
    Thanks
    William Pantaleã

  • Problem using workflow with ess leave requests

    Hello, I have been experiencing some problems using wf for approval with leave request in ess.
    I customized ws12300111 for request approval and it is working fine. But when we try to cancel a request in ess, there are strange things happening:
    - If the request is in status sent: the workflow gets in error.
    - If the request is already in db: it starts a new workflow (ws12300111).
    We don't want this because we have customized ws12300111 only for new requests. I have tried to customize absences in SPRO so that onlu new requests start the WS12300111, Onlu new requests have the workflow field filled with 12300111, but even like that, the WS12300111 starts whenever that is a cancelling or modification of a request.
    I have also tried using a different workflow for canceliing (WS12400007), but in this case there is an error in ess when we try to submit.
    This is really annoying, I have tried everything...

    Hello,
    "If the request is in status sent: the workflow gets in error."
    Please always say what the error is.
    " If the request is already in db: it starts a new workflow (ws12300111"
    You first have to find out how this is done. Look in SWEL, it's probably via some sort of CHANGED event.
    regards
    Rick Bakker
    hanabi technology

  • Record checkout problem in workflow

    Hi,
    I have a workflow where requestor creates record and once created pass the record to approver and once approver approves record is sent to Gatekeeper.Now I am checking out the record in the first step.
    But now problem is when record is in available or received state with approver Requestor can modify and save the record. Same is case with approver i.e. when record is sent to Gatekeeper by approver ,approver camn modify record.
    As mentioned in guide as record moves from one step to another users who receive the job automatically join record checkout.
    But I want to avoid this i.e. once requestor sends the record to approver he should not modify it.
    It will be great if you can share any workaround to achieve the same.
    Regards,
    Neethu Joy

    Hello Neethu,
    Try the below.
    For requestor
    start(Checkout(yes)-> process -> validate->assignemt->stop(cascade)
    In the Above workflow in the STOP STEP - check in the record, and in the Launch property Launch the Approver workflow.
    and in the Following workflow "Approver workflow" check out the record in Start step and check in back in stop step
    Rgds,
    Prasad
    Edited by: Prasad Tuttagunta on Mar 6, 2012 9:21 AM

  • BAdI Workflows: Items rejection - problem in workflow

    Hi SRM Freaks,
    I'm currently working with SRM_SERVER 500(SAPKIBKS09) release, and we've implemented the SHC Approval(BADI) workflow (WS14000133). After a few SNotes installation the worklflow is quite stable, but we have some problems with rejected items which can not be rework by requester.
    (for example 1SHC with 3 items -- 2 items approved and 1 items rejected).
    Do you have an idea why the rejected item can not be canhged !?
    Thx - Rafi

    Hi,
        This is std functionality.Pls check the foll post,
    Not able to modify the rejected line item in SC..?
    BR,
    Disha.
    Pls reward points for helpful answers.

  • Subution problem in workflow

    hi ,
    if user is on leave, and he is not maintained the substitution. then wokitem go to in his inbox.
    for this problem how can i solve .
    i heard that workflow adminstrator can put subtitute for any user, how?
    if workitem already went to user inbox, how adminstrator can forward that work item to others, is there any transaction
    please give me your helpful answers.
    Regards,
    Sankar

    Hi Tibor,
    How do we maintain HRUS_D2 with SM30. I get a message <b>"The maintenance dialog for HRUS_D2 is incomplete or not defined"</b>. If i go to <b>"Generate the required maintenance dialog."</b> it asks me for the access key Is there any other way to do this??
    Hi Sankar,
    We can use the substitution WAPIs delivered by SAP but again may be you have to design a small report with a selection screen.
    To check the functionality of these WAPI's goto SE37 and try F4 with SAPWAPISUB*
    Thanks,
    Prasath N

  • Releasing problem in workflow

    Hi All,
    I am facing the problem in the releasing of the document in the workflow..
    First step i am using the parked document and save as complete, which is working fine.
    But problem is next step i am using the RELEASE method of the FIPP BO..
    but i am able to get the workitem with RELEASE whover i am assigning.
    if they release, it is showing released, but when i check document is not released, but document getting lock..
    Please let me know this is problem with wf or customizing?
    I have binded Business Object corrctly for the RELEASE method
    Regards,
    Udupi

    Hi,
    Please refer below mentioned thread. I hope it will be helpful for you.
    http://www.saptechies.org/sap-pdf-books-download/FI_Document_Parking_workflow_tutorial292711300832628.pdf
    Regards,
    Sudeesh Soni

  • Workitem Lock  problem in workflow for leave request

    Hi Experts,
    I am facing the strange problem in the workflow of the leave request.
    We have implemented the two  level approval for workflow. For the first level approval we have created custom WebDynpro  application where approver approves the request and selects 2nd approver for the workflow. Here we are calling method initiate_state_transition of class/interface if_pt_req_request to change the status of workflow from sent to approved in custom WebDynpro  application .
    For the second level approval we are using standard approval application.
    When 1st approver approves the request, workflow moves to next task, but this task gives error "Work item 000000605682 locked by user SD21690 (enqueue error)".
    I am not getting why this is happening?
    Could you please help me.
    Thanks
    Sameer

    Hi
    As you have developed a custom application for first level approver where the status of record is being changed from sent to approved.
    please check what is the workitem number that is initiated. If its 605682 and the first approver is SD21690 then please make sure you release that workitem in your webdynpro application.
    You must have customized the workflow to add the first approver step. Where you would be mentioning the name of the custom application in SWFVISU against your custom task.
    The problem is with the workflow so please check the workflow. Your first approer is not releasing the workitem post approval and that is the reason for lock.
    Vivek - this lock is not enque lock its a workitem lock.
    Please revert with further questions if required.
    thank you
    barin

  • Problem in workflow transports

    Hi guys,
    I have a strange problem like I made some modifications in PO release wf. It is working fine in Development and it was working fine in Production also for a couple of wks. But I do not know what has happened suddenly, it is taking the oldest version of the workflow . Is there any specific way in transporting workflows.
    Please reply back to me asap , as it is creating lot of problems to us.
    Thanks
    Bhaskar

    hi,
    i faced a similar issue, probably this should help u out :
    Phenomenon:
    You have changed your workflow template in client 000. If you look to the workflow definition in another client with SWDD, then you see the newest version as just maintained in client 000. But at runtime, the old (former) version of the workflow definition is used.
    Cause:
    When activating a workflow template, then also some client specific data is replicated from client 000 to the other clients. In this replication there is currently an error. I just talked to a workflow colleague. The problem we have observed seems to be just the tip of an iceberg ... . They are working on the issue(s) related to this.
    Workaround:
    Execute  function module SWD_WFD_REPLICATE_FROM_9999 in the client, you need to have the newest template definition. Enter your workflow template ID (with pattern "WSxxxxxxxx") in parameter IM_TASK and execute. Make sure that you do not lock the template in SWDD.
    Then you also (may) need to execute transaction SWU_OBUF to synchronize the buffer.
    i hope this should work.
    Regards,
    Saujanya

Maybe you are looking for

  • Apple tv removes sections of service

    I love my Apple Tv but I'm having a lot of issues with it. Biggest issue is that it randomly takes away different sections out of the 5 (or 4, can't remember right now) that are standard and it will only show 3 of them. Recently we just tried renting

  • Movement type error in Delivery

    Hi guys I have an issue here at my client's location. When a return/replacement order(ZRE) is created, it generates a delivery document(LR) automatically and picks movement type 657(puts stock in blocked area) but the client's requirement is to set i

  • AG53131A labview driver

    Hi guys, is that anyway to get the labview driver for Agilent 53131 frequecy counter as attahced. I download the driver from NI but unable to control the devices even it is in remote state already. Appreciate if somebody can provide help. thanks, BS

  • Acrobat 8.1.2 MSP will not update old MSI

    Has anyone been able to update the Adobe Acrobat MSI file with the 8.1.2 MSP and push it out through Active Directory? I run the msiexec /a "MSIFILE" /p "MSPFILE" command and it says it updated the msi. Then when I try to run the msi file it go to in

  • Settings for accounting doc for RA

    Hi , Request you to inform the settings made in IMG for creation of accounting documents at settlement (subsequent to RA) apart from OKG2.We have cases where accounting document is not being generated at settlement even if it is checked for ' Transfe