Activity Step type in workflow

Hello Experts,
I need some detail clarification regarding Program exits and Properties tab in activity step type
i have read the content in help.sap.com but it was not clear how to use these steps
Also if anybody knows please explain all four tabs for dead line monitoring
Thanks in advance!

Hi Akshay,
Please check the following links:
Re: Workflow terminologies
Re: Reg: Program Exits
http://help.sap.com/saphelp_nw2004s/helpdata/en/fd/15fe3b0f13ca4ae10000000a11402f/frameset.htm
Hope this helps!
Regards,
Saumya

Similar Messages

  • Activity step type picks wrong agent during runtime.

    Dear All,
                 I created two activity step types.Both these should pick two different agents at run time from ztable.
    First activity step type picks the right agent.The second activity step type should pick another agent.Instead it picks the same agent as picked for the first activity step type.
                I use two different workflow containers to pass values to rule containers.
    Following is the binding sequence between workflow to rule container and vice-versa for first step type.
    &WERKS&    -->      &WERKS&
    &AAGENT&  <--      &_RULE_RESULT&
    Following is the binding sequence between workflow to rule container and vice-versa for first step type.
    &WERKS1&    -->      &WERKS1&
    &AAGENT&  <--      &_RULE_RESULT&
    Both these rules fetches the right agent at PFAC when simulating the rule resolution.
    Only the second rule returns the wrong agent who is the approver for the first activity step type.
    Please suggest if I am any where wrong for which I will be grateful.
    Thanks and regards,
    S.Suresh

    Dear Pavan Bhamidipati,
                          Thank you so much for your reply.
                          My scenario is whenever a purchase order is created for a particular plant,it should go for a two level approval.These two agents will be selected during run time from ztable.
                           For example, if purchase order is created for plant 1000,it will go for a two level approval to a set of agents.If purchase order is created for plant 3000,it will go to another set of agents for two level approval etc.
                           The rule I have created fetches the right agent.But when I intetrgrate it with workflow, I get the correct first agent for first level approval.On the other hand,for the next level approval,again I get the same first agent incorrectly.Instead I should get another different agent for second level approval.
                           Following is the code I use now::
    FUNCTION ZWF_TST_RULE7.
    ""Local Interface:
    *"  TABLES
    *"      ACTOR_TAB STRUCTURE  SWHACTOR
    *"      AC_CONTAINER STRUCTURE  SWCONT
    *"  EXCEPTIONS
    *"      NOBODY_FOUND
      INCLUDE <CNTN01>.
    DATA :   agent2 like Zworkflow1-agent2,
             werks like zworkflow1-werks,
             werks1 like zworkflow1-werks,
             lines TYPE i.
    swc_get_element ac_container 'werks1' werks1.
    select single agent2 from zworkflow1 into (agent2) where werks = werks1.
      ACTOR_TAB-OTYPE = 'US'.
      ACTOR_TAB-OBJID = agent2.
      APPEND ACTOR_TAB.
        DESCRIBE TABLE actor_tab LINES lines.
        IF lines IS INITIAL.
          RAISE nobody_found.
        ENDIF.
    My ztable has 5 columns namely MANDT,SNO,AGENT1,AGENT2 and WERKS.
    Correct me if I am any where wrong for which I will be greateful.
    Thanks and regards,
    S.Suresh

  • Activity/step in the workflow has a blinking red outline

    Symptom
    Activity/step blinks red in the diagram, and the workflow goes to the Paused state (default behavior.)
    The workflow Failed flag is set to Yes (true) which can be seen in an Explorer folder or view containing workflows or in the Home page Instance monitoring dashboard.
    Cause
    An uncaught exception during the processing of the activity/step.
    Fix
    To diagnose the exception, right-click on the activity/step and select Display logs. The fix will depend on the particular exception.
    Preventative
    In the future, avoid taking the action that caused the exception.
    Note:
    Specific exceptions will be described in subsequent discussions of this sub-forum.

    Antonise,
    The match/merge step is manual because In real time scenarios 'The person who have access to add records in Data Manager not necessarily can have access to approve or disapprove the new added records', so the case become one client say add records in Data Manager and the approval/disapproval, match/merge etc. steps will be performed by Admin or say DBO.
    Thats why match/merge step have manual execution.
    And your qyery if no match found then its should be automatic to next step "No because Admin still can refuse those new added records untill and unless he/she is not satisfied"
    Rewards if helpful.
    BR,
    Alok

  • Re: Workflow-step type: Mail - to add smartform output as a . PDF attachmnt

    Hi All,
    I have a requirement of attaching the output of a smart form as .PDF attachment. This has to be done as part of the Mail Step-Type in the work flow.
    Could anyone please confirm whether we can send an attachment as part of the Mail Step of a work flow. If this can be done, please provide some inputs on how to proceed on this.
    Thanks & Regards,
    Goutham.

    Hi,
    Thanks for your early replies. Points are definitely awarded.
    So the main point here is we cannot attach an attachment to the Mail Step Type of the work flow. The only thing we can do is to create a method in the business object to do the same and use it in the Activity step type of the work flow.
    Please confirm if my understanding is correct.
    Thanks & Regards,
    Goutham.

  • Get 2 attachments in Activity step in workflow...

    Hi All,
    I want to send two attachments in executable task in SBWP.
    One is to display the details of PR via ME53N and other attachment is to release the PR from ME54N.
    I want both the attachments in a single task.
    I am able to send one attachment to display the PR by binding the BO of PR to container in task as the default method set is DISPLAY.
    Now to release the PR, do i need to change the default method of BO.
    If yes, then it'l not work for custom display method.
    Please suggest what is the procedure to achieve the same.
    There may come the requirement that we need one more attachment in the task to see the structure of custom Approvers table via SE11.
    Regards,
    Guddan

    Hi Rick and Rob,
    I followed your suggestions but still the issue is not resolved.
    @Rob : If i do the thinga as said by you then I will be first able to display the PR and then release it from ME54N.
                 But that's not my requirement exactly. I just want 2 links in my activity step type. The user can click any one of them.
    @Rick : I followed you but even if i do the binding with 2 different BO having 2 different default methods, till then i am not
                  getting 2 links in activity step type. I am getting link only to display PR.
    NOTE : This is just my R&D topic. I am just trying to explore this option of getting 2 links in activity step type. I even don't know   whether it is possible or not. So we can consider 2 links for any 2 TCodes , say ME53N and SE11.
    Thanks and Regards,
    Guddan

  • Send mail Activity step is inprocess

    Hi All,
    I have used one Activity step in my workflow , in that activity step send mail to approver function module written and defined that step as (method)back ground method. i have used SO_DOCUMENT_SEND_API1 for sending mail in side my custum function module.
    My prblem is this method is working fine , some times in prodcution this step got stuck and status is inprocess, i have also checked my workflow container and task container valuses are passed from workflow containe to task container, after that we are passing the same values from task container to method container. here we are facing the problem.
    I have used the same data types for all container elements
    some times only this step got stuck and status is showing inprocess.
    My doubt is this prblem related to mail server problem or workflow activity step problem.
    if any body facing this kind of problem please suggest me.
    Regards,
    Siva

    Exception condition "X_ERROR" raised.
    Error analysis
        A RAISE statement in the program "SAPLSOI1" raised the exception
        condition "X_ERROR".
        Since the exception was not intercepted by a superior
        program, processing was terminated.
        Short description of exception condition:
        Internal error or database inconsistency
        For detailed documentation of the exception condition, use
        Transaction SE37 (Function Library). You can take the called
        function module from the display of active calls.
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "RAISE_EXCEPTION" " "
        "SAPLSOI1" or "LSOI1U32"
        "SO_DOCUMENT_SEND_API1"
        or
        "SAPLSOI1" "X_ERROR"

  • Condition in condition step type always fails

    Hello all !
            I've a condition step type in workflow.
            The condition is as follows :
                           &ZBUS2011.REQ_TYPE& = 0001 AND &PLANT& = X
            The containers in  workflow log is populated with required values. However, the above condition fails for no reason.
            More over, on clicking "Evaluation condition with test data" button in condition display window,  a pop-up message " The evaluation of the condition gives the result 'False' "appears.
            Whether this could be the cause ? How to make the result 'True' ?
            Any suggestion most welcome.
    Regards,
    S.Suresh.    

    Hi Suresh,
    Is your attribute ZBUS2011.REQ_TYPE a vitrual attribute ? If so please check if the attribute is getting re-calculated during runtime. You can check this by instantiating the BOR and check initial value and then click on refresh button and see if the value has changed.
    Thanks,
    Ajay Bose

  • Activity step is not visible in workflow log

    Hi All.
    I added two task  in my workflow and transported it to qualityand it got transpported successfully.
    then i triggered the workflow and when i am checking the log
    one of my task is not visible in my log.
    Please guide me in this.
    Thanks in  advance
    Regards
    Anit

    I feel like you have to re check the activity steps defintion  under the tab Details , in this tab, you have a section Workflow log ---> Graphical represnetation make sure that you hvae selected the In All workflow Logs....
    This could be one of the reason that why the workitem is not appearing in the workflow log....
    And even under the OUTCOMES tab you have a check box where you can say that if this is the outcome then do not display in the workflow log so please even recheck under the outcomes tab of the activity step if any of the check box is enabled please disable it and then try to reimport to the other system and check...

  • Workflow-step type condition

    hai all.....
      I have got a problem while working with the step type 'condition' in workflow,i.e i want to check the values in internal table in my step type for example,whether the internal table is initial....please someone help me ..its very urgent...

    Hi Kasi,
    I can provide u a simple workaround for this...
    U can create another table within the workflow container of the same table type.
    name it as empty_<table>.
    Than within the condition step, u can simply compare the original table with the dummy empty_<table>.
    This should solve your issue
    Regards,
    Mahesh.

  • Workflow Step type for Container Operation

    Hi,
    A STEP in a given Workflow has to have an Agent? Can't I create a Step to get data from the DB into the container and that's it?
    I have created a container variable called "Grade" and I need to fetch the Grade of a User (WF Inititator) from a DB table and populate the "Grade" variable from the container that will be used in further steps.
    The Workflow gets kicked off but when it reaches the STEP, it stays there waiting for something (Action from a user?).
    Thanks & Regards,
    Ernesto

    Ok, now this is getting weird. Will try to explain what I am doing for one single step:
    1) I have my workflow. On PFTC I Have a workflow Template. Under the Container Tab I created a Parameter called "Grade" with the Import/Export check-boxes set and a "CreatedBy" parameter with the import/export check-boxes set as well.
    2) Then on the Workflow Builder I created a Step called Get Grade. This step calls a Custom Task and processes in the background so there is no agent determination.
        2.1) Here I have two bindings: a) Binding Between Workflow Container and Task and between Task and BO Method       
               Get_grade.  The Method Get_grade has 2 parameters (CreatedBy, that is an attribute of the Object and is an import
               parameteter and Grade that it is an import/export parameter).
        2.2) The Binding between the WF Container and the Task is like this:
                  &PROCCONFIRMATION.CREATEDBY& --> &CREATEDBY&
                  &GRADE& <-- &GRADE&
        2.3) Binding Between Task and Method is:
                 &_WI_OBJECT_ID.CREATEDBY& --> &CREATEDBY&
                 &GRADE& <-- &GRADE&   
        2.4) The Code for my method is:
    begin_method get_grade changing container.
    DATA:
          lv_grade TYPE zmm_app_req_info-grade,
          lv_userid TYPE zmm_app_req_info-requestor
    swc_get_property self 'CreatedBy' lv_userid.
    SELECT SINGLE grade FROM zmm_app_req_info
    INTO lv_grade
    WHERE requestor = lv_userid.
    IF sy-subrc IS INITIAL.
      swc_set_element container 'Grade' lv_grade.
    ENDIF.
    end_method.
    The only thing I need is to get the Grade parameter of the WF Container populated. This parameter will be used later on.
    Thanks & Regards,
    Ernesto.

  • Step type 'condition' in workflow

    hai all.....
    I have got a problem while working with the step type 'condition' in workflow,i.e i want to check the values in internal table in my step type for example,whether the internal table is initial....please someone help me ..its very urgent...

    Hi Kiran,
    For the Operator 'NX' u need not enter any comparison value. U click on the condition in the condition step type . A window appears and u click on the internal table in expression 1 and the operator as 'NX' . It doesnt need a comparison value.
    Now u check this with the test data in the same window . U will have an icon in the bottom of window to enter test data and another icon to evalutate it . U check it with data and without data. It will work .
    In ur reply to Kasi , Ur answer is not at all related with what kasi asked for .U can check the initial property while the data is in workflow container itself . Instead u r passing the data from workflow container to task container and then to method container and then the processing has to take place in BO and again the reverse should take place .Which is Unnecessary .
    Regards,
    Scobby.
             Be Free To Award Points

  • Use of Execution Type in Workflow process step.

    Hi Kiran,
    The Execution Type is relevant for the process step of the workflow.
    MDM workflow steps can be assigned either to one or more users or to one or more roles, as follows:
    u2022 Users. User-based assignments allow you to explicitly specify which user or users should be responsible for performing the step.
    u2022 Roles. Role-based assignments allow you to specify roles rather than users, with the actual users determined by MDM at runtime.
    The Execution Type defines the relation between these assigned users/ roles if there are more than one:
    1. All Concurrent- All assignees must perform the step. Each assignee can do so at the same time.
    2. All Sequential Random- All assignees must perform the step. Each assignee can do so one at a time in any order.
    3. All Sequential Ordered-  All assignees must perform the step. Each assignee can do so one at a time in the order listed in the step.
    1. Any Single- Any single assignee can perform the step. The step can be pushed to or pulled by any assignee.
    You can also find this documented in the Data Manager Reference Guide under MDM Workflows-> Execution Type (page 292)
    Regards,
    Hedda Cohen.

    _Thanks Hedda_

  • Problem in Workflow during activity step with "Requested start" time.

    Hi,
    I am working on SAP workflow.
    In my workflow there is a activity step (wait step) where the workflow should wait before going to step after that wait step. To achieve this, I have used requested start as +10 min with WIS workitem creation. After 10 min, the workflow should proceed to further step but my workflow does not go further.
    It was working good I tested couple of days back but now it doesn't. Can someone please help ?
    Thanks.
    Regards,
    Rajesh.

    Please check the settings in SWU3. Most probably  the settings is not correct. You will get a lot of discussion from this forum if you search with SWU3.
    Thanks
    Arghadip

  • Workflow Builder step type 'Loop (While)' missing

    The step type 'Loop (While)' is missing in the workflow builder in both the SWDD and PFTC transactions.  This is happening is a WebAS 640 Support Pack 14 system and a WebAS 700 Support Pack 8 system.
    I have searched in SDN and OSS notes but could not find anything related.
    Are we missing some configuration setting or is this step no longer supported?  Thanks in advance for anyone who can provide some hint.

    How do you create the step?
    Did you try, cliking the cursor on the place you want the step to be, then click on the create button and then select the loop while (maybe your resolution is too small, so that you don't see it appearing)
    Kind regards, Rob Dielemans

  • Answered - Workflow editor, left pane, container elements & step type hidden

    Hello,
    How do I restore the workflow container & step types to the left pane of the workflow editor?  Looking at the attached screen print, you can see that they are missing.  Obviously, if can't see step types, I can't drag a step type into the editor pane.
    We are on Basis version 702, patch 11.
    Thanks
    Bruce
    ANSWER:
    Clicking on the thin yellow line at the bottom of the "Navigation area" displayed a drop down list, from which the different options can be selected.

    Thanks for the detailed feedback. There's a lot of stuff here. I'm watching the video and we'll try and see if I can reproduce any obvious bugs. For the other things I'll log and review against other customer feedback to see what changed make the most sense. The more people that give us feedback the easier it is to know what to work on next. Currently working on improving the elements panel and will try to get some general bug fixes in on the way. Thanks again for the feedback and thanks for using Reflow!
    Chris

Maybe you are looking for

  • Visualizer won't prevent display sleep?

    I've seen other posts related to this but haven't found the exact issue, so here goes (and thanks in advance for your insights): Instead of using appleTV, I hardwired my nice, huge sony tv to my macpro with a DVI-to-HDMI cable.  I did this because I

  • How to create Individual Object in SAP CRM

    Hi Experts, Can some one please let me know the procedure to create Individual Objects in SAP CRM. I mean I want to know the function modules or classes to create Individual Objects. My requirement is like this: I want to create an Individual Object

  • Aperture creating blank Duplicates?

    G'Day I just returned home from a bird shoot in florida. While there, I downloaded all 4300 images into a aperture project on my laptop. Last night I exported that project from my laptop to a external HD, then imported the same project on to my deskt

  • Macbook Pro Retina Display Notification Centre Pixelated. Any Fixes?

    I've frequently wondered why on the Retina display macbook, my notification centre is pixelated? Anybody have any reasons as to why? or if there is a fix for this? Many thanks Mark

  • Move tables from one schema to another schema

    Hi All, I have some tables in on Production schema. I would like to move these tables (including all constraints,triggers,indexes-- whatever created on these tables) to Development environment . Could you please guide me how to do this. My Oracle Ver