How to use loop in workflow task description

loop doesnt work in pftc task description command line. please help

Hi,
   Could you plse check this link 'http://mailman.mit.edu/pipermail/sap-wug/2005-February/016575.html'  to solve ur problem
Regards,
Rajeswari

Similar Messages

  • Using loop in workflows

    Hi All,
             Can any one help me how to use loop in workflow.
    Initially i will send workitem to agents.
    if the loop condition fails i need to send the workitem again to the agents.
    Thank you,
    Harsha

    Hi,
    Just try it. Open the workflow builder, create a new workflow and enter a loop into it. It is really straightforward. You just need to enter the condition into the loop. Basically you need to check some value in the container. Let's say you have a container element APPROVED. If it has value X, the loop will end, etc.
    Regards,
    Karri

  • How to use LOOP(Until) step in a Workflow

    Hi,
    How to use LOOP(Until) step in a Workflow?
    What are the steps involved in using the step LOOP(Until).

    Hmmm... using it is just like using a LOOP UNTIL statement in any programming language. You get at least one loop iteration, as opposed to a WHILE loop which may give you zero iterations.
    You simply insert a node of this type in the workflow, and magically there will be a loop inside which you can insert the steps you want to execute in the loop, and by double-clicking at the end node of the loop you can enter the condition for exiting.
    What exactly is it you are having trouble understanding about the use of it?

  • How to trigger a standard workflow task in customizing program?

    Hi experts,
    Does any1 have any ideas about how to trigger a standard workflow task in customizing program? Is there any FMs can be used to do this?
    Thx in advance. Points will be rewarded.
    Vincent

    will followiign Fms help -
    'SWE_EVENT_CREATE'
    SWR_START_WORKFLOW
    SWU_START_WORKFLOW

  • Use LOOP in workflow

    hi experts:
        when I create one notice,many leaders will approve or reject the notice one by one.I want to use "loop until" in workflow template,how can it carry out?
        thanks a lot!

    check the following links for reference:
    Link: [How to use LOOP(Until) step in a Workflow;

  • How to use tokens in workflows(ocm)

    i want to know how to use tokens in workflows .

    What do you want to know?
    Tokens are variables that eventually map to either individual user names or aliases (groups of users).
    The token is defined and then included in the workflow step in addition to or in place of a user or alias.
    A token is a piece of idoc script that ends like this <$wfAddUser("Name", "type")$>. Name, like i mentioned above, is a user name or an alias name. Type is a string identifier; either "user" or "alias".
    Because it's Idoc Script, the token can evaluate anything available in the databinder as well as execute other functions.
    A very easy way of using tokens is to map a metadata field that you know will contain a user name to the "Name" parameter. The dDocAuthor field will always contain a user name. So the token might look like this: <$wfAddUser(dDocAuthor, "user")$>. When set as a workflow user, this token will route the item to the person listed as the author.
    Because tokens are evaluated in workflow after the entry event (read the docco if you don't know what step events are), you can do some complex caluclations in the entry event and then pull the results into the token. For example, you might want to auto-escalate workflow content to my manger. If we presume that my manager's user name is part of my user profile, (say in a user metadata field called uManager), we can figure out who my manager is in the entry event, set my managers name into the companion file (read the docco if you don't know what this is), then pull it out in the token when the token is evaluated.
    this might look something like:
    --- ENTRY EVENT CODE ---
    <$me=dUser$> <!-- this sets the current user to the idoc variable "me"-->
    <$myManager=getValueForSpecifiedUser(me,'uManager')$> <!--this grabs the value of the uManager field for me-->
    <$wfSet("manager", myManager)$><!--this creates a variable in the companion file called "manager" and sets its value to the value of the myManager variable-->
    ----Token Code---
    <$wfAddUser(wfGet("manager"),"user")$> <!--this pulls the value of the "manager" variable out of the companion file and sets it as the token user.-->
    This is only the tip of the iceberg. One token can have multiple <$wfAddUser...$> declarations. They can be conditional: <$if ..some condition$><$wfAddUser...$><$else$><$wfAddUser...$><$endif$>
    Check out the workflow reference guide that is in the documentation library for more ideas.

  • How to use alert in workflow

    Hi friends
      I have configured ALERT in ALRCATDEF t-code. and i have wirtten the discription of the alert there. Now i am using deadline in my workflow in the mail step i want to use this alert so that this alert will come in alert tab in portal. In ALRCATDEF t-code there is fixed recipitants but i want to get the recipitants dynamically which i have written the logic in my workflow but how to use this in workflow. Can any one guide me.
    Regards
    vijay

    Hi,
    We had a similar requirement to send a notification from the alert.
    We created the alert and called the conccurent program which will trigger the workflow.
    Below are the stepsfor the same:
    Create the event/periodic alert and give the action type as "Concurrent Program".and give the concurrent program detials as below
    Application :Human Resources
    Program Name :XX(Eg:Alert Workflow Initiation CP) (this is a plsql stored procedure type with six parameters for this program )
    Arguments:YYY(eg:"N" &person_id "&name" "&job" "&org" "&username")
    Below is the sample code to call the workflow from plsql stored procedure
    begin
    l_item_key := to_char(SYSDATE,'YYMMDDHH24MISS');
    wf_engine.CreateProcess
    (itemtype => 'IRC_WF',
    itemkey => l_item_key,
    process => 'PER_APPLICATION_PRC'
    l_mail_content := chr(10)||chr(10)||'Dear '||p_name||':'||chr(10)||chr(10)||
    'We appreciate your interest in the '||l_job||' position. A member of the Human Resources team will review your information and contact you if your skills and experience is a match for our needs at this time.'||chr(10)||chr(10)||
    'Once again, thank you for your interest in employment at XXX.'||chr(10)||chr(10)||
    'Sincerely,'||chr(10)||
    'XXX';
    wf_engine.SetItemAttrText(itemtype => 'IRC_WF',
    itemkey => l_item_key,
    aname => 'WWPER_MESG_HTML',
    avalue => l_mail_content);
    wf_engine.StartProcess
    (itemtype => 'IRC_WF',
    itemkey => l_item_key);
    COMMIT;
    end;
    Get back to me if you need further details
    Thanks,
    Anuradha
    Edited by: user10411683 on Dec 2, 2008 11:12 PM

  • How to use loop controllers...

    hi i'm a new user for jmeter, now i want to test my site which has login details, i don know how to use foreach or other loop controllers to check my site.
    please anyone give me step by step procedure to test my site..
    regards,
    kumar

    Hmmm... using it is just like using a LOOP UNTIL statement in any programming language. You get at least one loop iteration, as opposed to a WHILE loop which may give you zero iterations.
    You simply insert a node of this type in the workflow, and magically there will be a loop inside which you can insert the steps you want to execute in the loop, and by double-clicking at the end node of the loop you can enter the condition for exiting.
    What exactly is it you are having trouble understanding about the use of it?

  • How to delete ad hoc workflow tasks in UWL centrally?

    Hi,
    While we were testing UWL function of Enterprise Portal in Netweaver 7.0, number of users created ad hoc workflow tasks in UWL.  We have recently decided to use Universal Worklist for Inbox-based workflow only (WebFlowConnector) and not to use it for ad hoc workflow (AdHocWorkflowConnector).
    Instead of asking all users to go in to UWL and delete all their ad hoc workflow tasks, I (as a System Administrator) like to delete all ad hoc workflow tasks myself, centrally.  Is this possible?  Does anyone know how to delete all ad hoc workflow tasks centrally?
    Thank you.
    Joon,

    Hi Joon,
    I think it will be really difficult to achieve what you want as each task is related to a particular user.
    I am not sure @ a Sysadmin can accessing other users' tasks.
    You can try looking for some way by using UWL apis.
    I think you can get all your user's adhoc tasks in an ItemCollection object by using append method of Itemcollection Interface and then see that deleting this object may achieve give u desired reults.
    Also try having a look at the IUWLItemManager interface.
    You will find these interfaces in com.sap.netweaver.bc.uwl
    See [here|https://help.sap.com/javadocs/NW04S/current/uw/index.html]
    I hope it helps.
    Regards,
    Sumit

  • Collecting Signatures on InfoPath Forms using Collect Signatures Workflow - Task Sign Button doesnt open Sign Dialogue

    I'm having a problem getting an InfoPath form to work smoothly with the Collect Signatures workflow while using automatically chosen signers instead of the signers being specified in the workflow initiation form.
    I created a custom InfoPath form with two signature lines
    I created a duplicate of the out of the box Collect Signatures workflow and changed the Task Process Participants from "Parameter:Signers" to use one stage of the "submitter" and a second stage of the Manager field in the form.
    The tasks do get assigned properly to the submitter and then the other user from the form field but there is a problem when trying to sign the documents from the task.
    PROBLEM: Now, when one of the signers opens the task from inside the InfoPath form(they get to the form by clicking the link in the task assignment email) and clicks "sign" it no longer opens the signature dialogue. It just
    advances the workflow and the document is left unsigned.
    BUT IT WORKED FINE STOCK?... If I change the workflow task back to use the Parameter:Signers and let it supply the signers from the workflow initiation form then when the signer clicks the "sign" button on the task form the
    Sign dialogue pops up for the next in line signature in the form that hasn't been signed. Then once they sign it the task completes and advances the workflow nicely. This is great but I want the signers to be automatically selected and the workflow
    to fire when a new form is filled bypassing the cumbersome workflow initiation form.
    Does anyone have experience with this? How can I get the task form Sign button wired up to open the signature dialogue for a signature inside the form?

    If you use a third party signing control then you would not have to name the form uniquely because the control captures the signature and shows shows it on the form. The signature is not dependent on the form name. In other words you don't have to give
    unique name to the form. Adobe Acrobat XI Pro lets you sign documents in SharePoint. Each approver can add their signature. There are other third party products also available for this. OR the easiest solution is to include Signature field on the form and
    ask users to simply type their name in the field and automatically record date and time (and show with signature) when they add their name and submit.
    Saifullah Shafiq
    Blog:  
    Twitter:   LinkedIn:
      Facebook:
      Google+:
      Latest Book:
    A Practical Guide to SharePoint 2013

  • How to use loop in BPEL Process

    Hi friends
    I have done a bpel process which picks up XMl file using File Adapter and imports the data from the XMl file to oracle db table using DB adapter....
    But here the XMl file which have only one row ..if i want insert the XML file which have two or more rows i want to use loop in my BPEL process how to use the loop in my bpel process ?
    In my BPEL process i have used receive ,transform , and invoke activity where can i use loop in my BPEL process
    Advance Thanks
    AT

    Hi Friend thanks
    Hi Oracler how to make use of transform activity and use a for each in it.?
    iam not getting i try can u please explain some more in brief
    Thanks
    AT

  • How to use loop in premiere elements 8?

    Hi,
    Using pre elements 8 and I don`t know how to set or use loop option in premiere elements 8
    Please help
    Vinay

    For an authored DVD, there is no capability to Loop that DVD, created in PrE. There are other authoring programs, like Sony's DVD Architect, and Adobe Encore (available only with PrPro), that allow this to be done easily.
    The way to do similar in PrE is to do an AutoPlay DVD and then this use the Repeat button on the DVD player.
    Good luck,
    Hunt

  • How to use loop

    Hi
    I have one control block in form of Grid and now I want clear my grid when button pressed for new selection.
    So any one let me know how can I use loop for these field
         :ADVANCES_SCHEME.TXT_MONTH := '';
              :ADVANCES_SCHEME.MONTH_VERIFIED := '';
              :ADVANCES_SCHEME.CK_VERIFIED := 'N';
    Thanks in advance...
    Regards

    Thanks every one. I have solve my problem, just put this statement in begin clause
         Clear_Block(No_Validate);
    this statement clear my grid.
    Regards

  • How to use rule in workflow

    Hi all.
         I am new to workflow. Can you pls let me know how to use the rule in worklow .I have created a rule using the transaction PFAC. Pls provide  me some screen shots which demonstrates   hoe to use  this rule in workflow.Thanks in advance.
    Cheers,
    sami.

    Hi SAMI
    go to this pdf in SCN.All about rules.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d053fe48-6513-2b10-a59f-871923ff99d8
    Second thing workflows related question should be posted at
    SAP-Netweaver -> workflow
    Regards
    s@chin

  • How to use SAP Business Workflow along with Interactive Adobe Form

    Hi Experts,
    I am working on SAP Business Workflow since last couple of years.
    Now i have got a new Project where client wants to use SAP Business Workflow along with Interactive Adobe Form.
    I am new to Interactive Adobe Form and Portal thing and i really dont know from where to start.
    We have one central system and 2 local systems. when we do create a Material document using adobe form workflow should trigger and notification should go to group of users who can approve or reject it, once they approve it document gets created in central system and replicated to 2 local system through ALE.
    In the Local system they do extend the document to different plants, again workflow triggers and notification will go to Managers inbox for the approval.
    Once the final approval done data should go and store in SAP.
    Now here i have couple of Questions.
    1. In SAP R3 Business workflow when i execute the workitem from the inbox i do get the application screen ( i.e. MM01 MRP View ) , what is going to happen if the same case i have with Adobe form?? is it possible or do we have to design a adobe form and we will have to map the fields with backend application??
    2. Do i have to maintained 3 separate Org Structure for 3 different system or using UWL  i can manage the show
    3. Untill final submit is not done, where the application data is going to be, is there any kind of buffer that we will have to keep it or its there with XML file??
    Please help me out.
    Thanks in Advance.
    Regards,
    Manoj

    Hi Manoj,
    Welcome to ADOBE Forms related Workflow Development. Well, here are my answers.
    1) You can go for either go for ISR based development or WD development with Adobe form. In both the cases you can achieve your requirement. Yes, you will have to design the Adobe form and bind the fields to backend.
    2) Am not clear or your System landscape to advice you in these regards.
    3) Until final Submit/Approval is done, the data can be stored in WORKFLOW CONTAINERS or XML FORM(If you go for ISR based Development).
    Hope this helps.
    Regards
    <i><b>Raja Sekhar</b></i>

Maybe you are looking for