Skip to Content
author's profile photo Former Member
Former Member

use of FORK in workflow

hi all,

can you please tell the use of FORK in workflow with an example.

thanks&regards

aashima

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 27, 2012 at 07:28 AM

    Hi,

    I am tring to depict here using a simple scenario what exactly is fork. For details you must visit the link

    http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/25f1e7454311d189430000e829fbbd/content.htm

    Fork as used when a group of task can be done parallely. Example when an employee fills out an exit form. There are several departments involved from where he/she need to get clearance. Some of the task can be interlinked and some are not. So those which are not interlinked can be processed parallely, to save time.

    Here are the three basic departments two ways you get approvals from all of the departments

    CLASSICAL

    • Employee fills form
      • HR Dept approves
        • Accounts Dept Approves(wait for HR)
          • Travel Dept Approves(wait for account)

    PARALLEL(FORK)

    • Employee Fills form

    

    • Account Dept Approves
    • HR Dept Approves
    • Travel Dept Approves

    Hence no one waits here.

    I hope it helps

    HAPPY ABAPing

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 02, 2013 at 12:53 AM

    Hello,

    You may want to buy this book if you have general workflow questions:

    www.workflowbook.com

    I most often see forks in workflows as 1-from-2 forks where one branch has a wait-for-event step. The event being waited on is uaully one which renders the operation in the other fork branch obsolete.

    For example:

    Fork branch 1: approve travel request

    Fork branch 2: wait for event 'Travel request Deleted'

    regards

    Rick

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2014 at 09:28 AM

    in a step when you don't know which condition or which event will trigger then fork is used. suppose we have an activity where po is created and later we are doing some operation on it . we don't know what the agent will do ( he may change the po or hemay release the po ). then we use fork with 2 branches. both branches we will add wait step one for change event of bo for PO one for Release event. if any event is triggered among these two then the corresponding branch will be processed.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.