Trace a workflow

hi,
there is a workflow 'WXXXX' ,
how do i identify where all this workflow gets triggered.
cheers,
Aditya.

Hi
Use transaction
SWUD
Transaction SWUD will allow you to determine how many times the event is firing
The tool for creating or changing these types of workflows (workflow template) is the Workflow Builder (transaction SWDD).  
Transaction SWUD
SWUD is the diagnosis transaction. This will guide you through the fault finding process. The check-list order is determined dynamically according to:
a) your workflow definition and
b) the statistics of the most common mistakes made when creating/activating a workflow.
The testbed, provides a launchpad for tests to ensure that your workflow definition is rugged enough for the production environment. It also allows you to access the tasks, subflows, object types, delegated object types and agent assignments directly, without going through the workflow builder first. (Foreground tasks with no agent assignment are marked in red from release 4.5 onwards). This list is also useful as a catalogue of the components of workflow for documentation or transport purposes.
Click on the "info" icon to read a description of the test being performed.
Any workflow accessed through this transaction is added to the last-used list. The workflow can be recalled at a later date by clicking on the reuse icon in the left-hand column of the last-used list.
Reports
·     RSWWWIDE – Delete work items
·     RHSOBJCH to fix PD Control Tables
Tables
·     SWW_OUTBOX     -Lists Workflows in outbox together with status
·     SWW_CONT     -Container Contents for Work Item Data Container
·     SWW_CONTOB     -Container Cont. for Work Item Data Container (Only Objects)
·     SWWLOGHIST     -History of a work item
·     SWWORGTASK     -Assignment of WIs to Org.Units and Tasks
·     SWWUSERWI     -Current Work Items Assigned to a User
·     SWWWIHEAD     -Header Table for all Work Item Types
regards
vinod

Similar Messages

  • How to give block trace in workflows?

    I need to trace particular activities and action in work flows ..How can we give the <block trace =true>?
    I am trying to give right after the <Activity> which resulted to error.
    <Activity id='0' name='start'>
    <block trace='true'>
    <Transition to='Create OU Structure'/>
    <WorkflowEditor x='43' y='10'/>
    </block>
    </Activity>
    Appriciated if give one example
    Edited by: siteminder on Sep 16, 2008 11:16 AM

    Thanks frogger.I tried this option..giving some import xml errors.I will keep update after troubleshoot.
    Meanwhile I found another way to trace all workflows log activities.
    Open System Configuration object in the debug
    modified the below and exported.All workflow logs are writing to given file name workflow.log
    <Attribute name='workflow'>
    <Object>
    <Attribute name='consoleTrace' value='false'/>
    <Attribute name='fileTrace' value='C:\Idm7.1\Activesynclogs\workflow.log'/>
    <Attribute name='maxSteps' value='5000'/>
    <Attribute name='resultTrace' value='true'/>
    <Attribute name='retainHistory' value='true'/>
    <Attribute name='traceAllObjects' value='true'/>
    <Attribute name='traceLevel' value='4'/>
    <Attribute name='validationLevel' value='CRITICAL'/>
    </Object>
    </Attribute>

  • How to trace a workflow?

    Hi experts, If I want to know which workflow is being executed when executing a transaction, how do I trace it down? I am new at this area and need to modify some workflow steps. First I need to know which workflows are being executed.
    Thank you,
    Minami

    Hi,
    Check this
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/25f972454311d189430000e829fbbd/content.htm
    aRs

  • Not Able to see Workflow Template in 4.6c

    Hello Experts,
    I am working on 4.6C version. I have a strange problem, when i use the transaction SWDD, i am not able to insert the workflow template say WFXXXXX but in the pop up if i press WF Definition then i am able to see the template.If i directly press enter(Insert) in the pop up screen then it is saying Workflow Template doesn't exist.
    Can any one of you please help me in this. One more doubt, is it possible to Retrieve WF Template if it is deleted by mistake in 4.6C??.
    Thanks a lot in advance....
    Rgds,
    Mohan

    Hi Jagan,
    The workflow template is by naming convension WSxxxxxxxx. Please try using this and check if you find the template.
    Also you can trace the workflow template in t-code PFTC. Select WS Workflow Template and give your workflow template ID. It would give you the details of your workflow.
    Hope this helps!
    Regards,
    Saumya

  • WorkFlow Back Ground Process Running More Time

    Hi all,
    I have very Big problem it is occured in production i need help vary urgent for this .
    Work flow Back Ground Process Running More than 5 hrs,actualy Daily it is running only below 2 min .but yesterday onwords it is running more than 5 hrs.but this workflow back ground process running long time only one item_type='REQAPPRV' REMAING item_types running normaly.
    i did have any root cause for this performance issue plz let me know any one for this problem what is the root cause.
    Thank's

    Reddy,
    Go through the following documents, it should be helpful in troubleshooting the issue.
    Note: 186361.1 - WF 2.x: Workflow Background Process Performance Troubleshooting Guide
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=186361.1
    Note: 298550.1 - Troubleshooting Workflow Data Growth Issues
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=298550.1
    Note: 566577.1 - Workflow Background Process Has Significant Performance Issues
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=566577.1
    Note: 743338.1 - Performance Degradation when the Workflow Background Process is Running
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=743338.1
    Note: 734425.1 - How To Generate Performance Trace for Workflow Background Process?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=734425.1
    If this is your production instance and the issue is urgent, I would suggest you log a SR.
    Regards,
    Hussein

  • Tracing usage o business object in workflow

    hi
    i have a BO ZBUS2031 and i want to find all the workflows using this bo and its components. how to find and trace the workflow?
    thkx
    Prabhu

    Hi,
    Try this..
    go to the table HRS1201 and give the business object in the field SWOTP..
    Now you will get list of tasks..
    Then use the task and go to the transaction SWI11 and give the task to search for the tasks in the workflow..
    Thanks
    Naren

  • Workflow Expression Rule Adapter

    Hello there,
    this is my first time creating process controlled workflow. Now I have a problem to create the right expressions and events to define the output for my for choosing the right schema.
    What I want:
    We have created a ZBUS2121 and delegated it to BUS2121. Within ZBUS2121 we created new attribute for workflow starting condition.
    In Application controlled workflow it works all fine.
    But now migrating the workflow to process controlled workflow framework there is the problem.
    I need the value of the new Z Attribute from my ZBUS2121 to trigger the right schema.
    I Created a new expression Z_C_GET_APPR as OCF001 to call the funktion module /SAPSRM/WF_BFR_0EXP000
    my parameters are
    1. OC_C1_C_FWFSCRLCNTNT   (its the constant class name /SAPSRM/CL_WF_RULE_CONTXT_SC)
    2. OC_C2_C_GET_PROPERTY
    3. Z_C2_ZGENEHMIGUNGSWF   (Thats the name of the attribute in ZBUS2121)
    with another expression Z00_SC_E_CHECK from type simple SAP Formularinterpreter (OFB001) I will check the result of Z_C_GET_APPR
    I wrote the "Z_C_GET_APPR = 'E'
    The result type is boole.
    then a third expressions gives me the schema name. It's checks if  Z00_SC_E_CHECK is true.
    My problem is that the expression Z_C_GET_APPR  containing the function module call delivers not the expected result. One field with the value from ZBUS2121.
    Whats my mistake?

    Hello Saravanan,
    You are right these are the parameters of the expression.
    I did'nt know about a naming conversion in brf. Thanks for the hint.
    Now I created a new constant expression called Z_C4_ZGENEHMIGUNGSWF but it solved not my problem.
    these are my parameters now:
    1. OC_C1_C_FWFSCRLCNTNT (its the constant class name /SAPSRM/CL_WF_RULE_CONTXT_SC)
    2. OC_C2_C_GET_PROPERTY
    3.Z_C4_ZGENEHMIGUNGSWF (Thats the name of the attribute in ZBUS2121)
    When I look into other expressions which using the same function module they all have
    1. OC_C1_C_FWFSCRLCNTNT (its the constant class name /SAPSRM/CL_WF_RULE_CONTXT_SC)
    2. OC_C2_C_GET_PROPERTY
    3. OC_C3_C.....
    as parameters.
    Is /SAPSRM/WF_BRF_0EXP000 the right fm for me? And parameter two the right method?
    Maybe it isn't the wrong fm because I'm using ZBUS2121? Or Maybe I have more naming problems. Where can I see the naming conversions of BRF Objects?
    How can I trace the workflow and the result of the expression? Currently I will trigger an workflow schema with it and I have to create shopping cards to test my workflow and the expressions. Is there a simple way for finding out the result of the expression?

  • Trace is not getting into file

    Hi all,
    I am trying to trace the workflow by this statement in "System Configuration" file :
    <Attribute name='workflow'>
    <Object>
    <Attribute name='consoleTrace' value='false'/>
    <Attribute name='fileTrace' value='true'/>
    <Attribute name='maxSteps' value='5000'/>
    <Attribute name='resultTrace' value='false'/>
    <Attribute name='retainHistory' value='true'/>
    <Attribute name='traceAllObjects' value='false'/>
    <Attribute name='traceFile' value='file:/tmp/idm/logs/xample.log'/>
    <Attribute name='traceLevel' value='3'/>
    <Attribute name='validationLevel' value='CRITICAL'/>
    </Object>
    </Attribute>
    but this isn't working.please help me

    well attribute name is fileTrace not traceFile
    On Windows. <Attribute name=’fileTrace’ value=’C:\mydir\workflow.txt’/>
    On Solaris/UNIX. <Attribute name=’fileTrace’ value=’/mydir/workflow.txt’/>
    Above option enable trace for all workflow and that will go to mentioned file, that is also very hectic to read.
    you can eable trace in individual workflow as well and send the log into file.
    below is example to set trace in file in wf.
    <WFProcess name='My workflow' trace='/logsPath/workflowTrace.xml'>

  • LSO - Wrong workflow getting triggered

    Hi
    I am using SAP Learning Solution from portal. When the employee applies the course from portal, the system shows a message 'Work flow Cancellation Requested' instead of 'Participation Requested'
    I checked in LSOWF_CUSTOMIZE, the customizing is maintained correctly. The table LSOWF_RUNNING shows that the action type requested as 'CANC' instead of 'BOOK'.
    I checked in SWEHR3 - there is no entry maintained. When I enable the event trace and do the course booking from portal - all I can see is only the even 'ATTENDANCE - CREATED';
    Can you please advice where could be the problem?
    Thanks and Regards
    Kasee Palaniappan

    Thanks for replies. The event linkage is set properly in the transaction SWETYPV.  When I enabled the event trace for workflow and triggered a course registration from portal - there are no events registered in the event trace.
    @ Pavan: I have checked the link, and configuration are maintained as recommended by SAP.
    The problem is, when a course registration is required - it automatically shows - the course is requested for cancellation. This is because the table lsowf_running is having the workitems for those trainingID with WFACTION as 'CANC'
    This means, when I request for a training course and later cancel it - the above said table is maintained with 'CANC' entries. I have not approved the cancellation of the course. If I rebook the course - the course still shows 'Booking Cancellation Requested' because the WFACTION is read for the training ID and the personal from the table lsowf_running.
    Any one has some idea, where could be the problem.

  • Customer workflow Issue

    Hi Export,
    I have a workflow for creation of indirect customer to direct customer  .The indirect dummy customer has been created for sales org(xxx)and company code(111) and the same also created for another and submitted via Workflow to generate a real account. However, when the real account was generated through idocs and it it appears that the real account has been set up for another sales org(yyy) and company code(222). I am unable to see the workflow to find out why this could have happened.
    Thanks in advance.
    Regards,
    Sourav

    Hi Sourav,
    Use TCODE SWIA to check the Workitem Log and to trace the Workflow do as below..
    1) Start the Workflow trace using SWU8 tcode
    2) Execute the Workflow
    3) End the Workflow trace using SWU8 tcode
    4) see the Workflow trace using SWU9
    Hope this would help you.
    Good luck
    Narin

  • Send email via workflow , duplicate email problem

    Dear Sir,
    We implement workflow to send email through workplace INBOX in CRM 5.0, However, when trigger to send email to INBOX, it 's always send duplicate emai.
    I don't know how to solve this problem.
    Thank you and best regards,
    Vimol

    Hi Vimol ,
    The very reasons for this to occur could be -
    1) Duplicate workflows being trigerred.
    It might be a case that two workflows are getting trigerrred by the same event .
    to check this use Event trace.
    go to SWELS --> switch on trace --> trigger workflow as per your functionality ---> goto swels and switch off trace ---> look at SWEL
    if you find two similar events , disable one and then recheck your process.
    2) OR it could be incorrect start conditions.
    3) or check workflow documentation , sometimes customizing tables also contribute towards workflow
    trigerring .
    hope this helps.
    Thanks,
    sahiba

  • Error Missing parameter values - I get this in 11g app server only

    Hi.. I had an application in JSP-Struts, previously on 10g app server.  I now migrated the code into 11g. 
    I get the error on CrystalViewer.jsp 
    Error
    Missing parameter values
    Steps that lead up to the error:
    The very first time anyone enters the application and clicks a submit button on the jsp, after entering data and/or picking from drop menus, the error shows up on a separate page (thrown by crystalViewer.jsp)
    When I get this error, and click the browsers back button, and simply click the submit button on the jsp screen again, the reports work fine (like they do in 10g).
    Tried the following:
    I used log4j and followed the data as it made its way from Struts to Crystal Factory.  But once it gets out of Struts, and forwards to Crystal, I receive the error from the CrystalViewer.jsp
    Next, I removed code in struts-action, that used crystal factory to 'set parameter', and didnt send any parameters, letting my crystal report bring back some random records.. And this works even the first submit!  So the problem is only when I have to send parameters to crystsl
    Additional info:
    I do not send any null values across, since I read on these forums that folks were having issues with setting nulls etc... I check for null and then force 'All' in the parameter if the user does not enter data or pick from the drop-down.
    I need help resolving this . Thanks and have a great day.
    (Are there any changes to be made to the Struts config, or any additions to Web.xml? Should Crystal reports be changed in anyway so they can function like they did in 10g?)

    The Crystal SDK doesn't know or care that you're using Struts. 
    The exception is stating you're not setting parameters. 
    So wherever you're trying to set parameters, whatever's reaching the viewer don't have them set.
    Why not trace the workflow to see what's where?
    Sincerely,
    Ted Ueda

  • How to get R/3 IDoc number in XI (file- XI- R/3 IDoc)

    Hi all,
    I want to do something simple
    In my scenario file->XI (SP14)->R/3 IDoc, I have to return the list of IDoc numbers to the sender external application.
    So I use a BPM with steps: Receiver (from file adapter), Transformation (Grouping and Splitting) and Parallel Block.
    In this block I have a Mapping (one message to IDOC) and Send step (to Idoc adapter).
    Its works fine, but I have to know the R/3 IDoc number for each message in the block.
    I tried to find solution in this forum but I didn&#8217;t find anything useful. Can you help me with any idea or link?
    Regards,
    Emil.

    Hi all!
    I was a little bit surprised. Is my question is stupid or complex or &#8230;?
    I found something strange: In the error acknowledgment message in SOAP Header / Trace I saw that there was a runtime error:
    <Trace level="1" type="B" name="CL_XMS_MAIN-RITE_MESSAGE_LOG_TO_PERSIST" />
      <Trace level="1" type="T">Runtime exception return from pipeline processing! </Trace>
      <Trace level="1" type="T">Persist Message in Stopped State</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
      </SAP:Trace>
    The workflow status is still In Process.
    Any idea what happened?
    Regards,
    Emil.

  • User receiving two mails for a single shc to approve

    Dear Experts,
    we have a scenario in which same user exists in 2 purchase organizations , one as virtual user, however when a shc created from purchorg1, user receives approval mail twice which shouldn't happen.When a shc created and approved, po created, would it be possible to change the shc as we receive 'system status is active' ,although found a note but still need confirmation to apply the same for SRM5.0 version.Please advice me on how to trace the workflow approval chain in srm for shc and the approvers involved also on deletion of assignment of virtual user.
    Thanks and Regards,
    Sathya Kumar.

    substitution error.

  • Can not get the agent from rule determination

    Dear expert,
      We have a PR workflow,for one step, the agent is determined by one rule,In our Q system,everythink is ok to get the agent correctly,and the workflow also can works.but in our P system,can not get the agent from the rule,when we simulate the rule,the agent can be get smoothly,but in workflow,realy can't get the agent(after trace the workflow), so would you like to give me sone suggestion, whant had happen in our workflow?
    Many thanks!
    Best Regards,
    Kerry

    Tks!
    I have one question,how to check the agent assignment is active?
    and also want to say,the rule that determin the responsible agent is used at one step of the workflow,not for possible agent of task ,and the rule's type is RESPONSIBILITIES.
    Best Regards
    Edited by: Kerry Wang on Jun 25, 2010 3:14 AM

Maybe you are looking for