Workflow - Block Step - Repeated execution

Hello
I would like to realize a Workflow for each delivery. In the workflow there should be a dialog step for each position.
I can realize that using the block step type.
What if the delivery is changed and new position are added?
Could I use in some way the same block to add the new positions?
Is there a standard solution foreseen by sap?
Thank you!

Hi,
In the workflow log, I am seeing a 'broken block in red color' when one of the approver rejects at a particular level. Workflow is not executing for the rejection path. May I know the reason behind this.  I am more worried about the broken red color block. I am seeing the status as 'Error'.
You can observe the difference of the execution of the workflow from the following . Please help me.
1.Approved                      2. Rejected

Similar Messages

  • How to execute Block step in workflow so that Approval can be done by new

    Hi expertt.
    How to execute the block step in workflow with Local container passed to WF conatiner .
    so that wf can executed next step with event raised.

    Install the language packs for the additional languages available from http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.12/win32/xpi/
    As you have the Finnish version of Firefox, the additional language packs are Dutch - nl.xpi, Norwegian (Bokmål) - nb-NO.xpi, Norwegian (Nynorsk) - nn-NO.xpi, and if you want English you can use en-GB.xpi
    To assign a particular language, you can change a hidden preference:
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''general.useragent.locale''', double-click on it and change it to the code for the language, for example '''nl''' for Dutch
    You can also use the [https://addons.mozilla.org/en-US/firefox/addon/1333/ Quick Locale Switcher] add-on to switch between installed languages.
    For more details see http://kb.mozillazine.org/Language_packs

  • Issue in completing the block step for parallel processing

    Hi,
    i have created a workflow where in i have used a block step to send workitems to multiple agents.  I have used parallel processing in block step. Number of agents are determined in the runtime. Lets say i have two items in my multiple line container( two agent id). Now inside block statement i have put user decesion step. So at the same time workitems goes to the two approver for approval. When both approver take the decesion after that also command is not coming out of the block step. I want the command to be out of block step after this and goes to the next step of workflow.
    Please suggest any helpful solution for it.
    Regards,
    Smit Shah

    I think theremust be a binding problem , the binding must be some thing like the below
    &USERID[&_WF_PARFOREACH_INDEX&]& ----->&_USERID_LINE&
    of the block step from WF container to Block Conatiner. Because when I checked in my system it is behaving as you want., I also include one Decision step inside the block, and then hard coded the userid values int the table USERID and made the above binding and it ia working fine and in the Decision Agent I mentiond the EXPRESSION and assigned the value &_USERID_LINE&

  • Parallel processing using BLOCK step..

    Hi,
    I have used parallel processing with a BLOCK step. I have put a multiline container element. In the BLOCK step, I have visibily to another container element generated because of the block step (multilne container_LINE). Thus the number of parallel processes are getting created as in the requirement, but the problem is the value in multilne container_LINE is not getting passed to the send mail step. I have checked the binding, everything is ok. Please
    Sukumar.

    Hi
    When I am sure that I am doing properly a binding but it doesn't work then:
    1. I activate workflow template definition (take a joke).
    2. I write the magic word
    /$sync
    in the command line, to refresh buffers.
    3. I delete the strange binding defined with drag&drop and define it one more time using old method from former binding editors in R/3 4.6c systems. I take container elements from the lists of possible entries or I write their name directly. I don't use drag&drop.
    Regards
    Mikolaj
    There are no problems, just "issues" and "improvement opportunities".

  • 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

  • END CONDITIONS IN BLOCK STEP

    In approval process  how many agents are determined at run time in multiline container, i used block for this  if any one rejects i should come out of block i created one container element in local container of the block  , in rejected branch i assigned some value using container operation, the same thing i given as a end condition  in block,  when i checked if any one rejected it is not coming out of the block can any one sugge

    why end condition is not working in block step i have given like this
    In rejected branch   container operation -
    flag = x (local container of block)
          end condition is flag = x.
    I tried like this also  flag = x,
       I Binded to workflow container  flag -
    > flag1(workflow container).
       i have given end condition is  flag1 = x.
    both are not working, I have seen in the workflow log it is executing till the container operation when i click on reject.

  • ForEach block step

    Hi all,
    I have implemented a block step with inside a synchronous send step. It worked just fine, but the scenario has changed and I have to bundle the responses and send them back in one file.
    So I placed a transformation step and a container, inside the block. Another send step behind the block, that sends the message back to the sender.
    The problem is that this is not working. The transformation and container do not show up in the PE-monitor but the block gets executed succesfully. Different messages all get sent and give responses back. Also the send step after the block does not get executed.
    Sxmb_moni gives no errors what so ever. The workflow ends with status executed succesfully. I have no idea what is going wrong.
    Any ideas?
    Grtz,
    Philip

    hi ursi
    We faced a similar scenario where we did a complete rebuild of the IS with a different name as a cache refresh didnt help. Soon after check sxi_cache and see the IS carries a response code 0 (no errors) reimport the IS into ID and check the scenario.
    Also make sure if the pointer is placed on the block if nay contained variables needs to be defined inside a block.
    regds
    Prabhu

  • Get WorkItemID of Top Block step

    Hello guys,
    In my WF definition I have one Block step, and in this Block some Activity steps.
    In runtime, I need to cancel one workitem (Activity step) and cancel the workitem of Block step too, but in runtime I don't know the "workitemid" of Block step.
    In one workitem (Activity step) I need to get the "workitemid" of top Block step.
    Any idea?
    Thank's!!!
    Kleber

    Hi Arghadip,
    Thank you, very much!!!
    But, I have one more question... I need cancel in runtime one Block and ALL other's workitens inside this Block.
    It's possible?
    For example, the FM SAP_WAPI_ADM_WORKFLOW_CANCEL cancel the workflow and all workitens, and the FM SWW_WI_ADMIN_CANCEL cancel only the workitem.
    I need something similar to SAP_WAPI_ADM_WORKFLOW_CANCEL, but for one Block only.
    Any idea?
    Kleber

  • Issue in File to RFC to File Scenario with BPM using Block Step

    Hi Everybody,
                           I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
                        After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
    Could somebody suggest me the outcome of this? What does this mean and how to
    release the stuck up message in Queue.
    Thanks and Regards,
    N.Jayanth Kumar

    Hi Rajesh,
                           After going through the blog, i saw the trace messages. It says      
    " The   exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
    Regards,
    N.Jayanth Kumar

  • Parallel processing in a block step.

    Hi,
    I have  parallel processing in a block step. It is working fine. Now there is a request and so the question is, if there are 2 parallel loops created by the process block for user decision step and if one has become obselete, how do I deal with it.I need the process block to complete the 1 loop succesfully and proceed.
    Let me know in case of questions.
    Thanks.
    Sukumar.

    Hi
    I think you are using "ParForEach" in block. Let me know how you are making 1 parallel loop as obsolete.
    Is that block is not getting completed after the 2nd parallel loop gets excuted?
    Vinoth

  • ParforEach Mode in Block Step in BPM

    Hi All,
    We designed a BPM with a block step in Parforeach mode.
    For this block step, a multiline container is the Input.It has all the messages to be processed in parallel. But during runtime this block step is not processed in parallel mode.The messages are processed one after the other in sequential mode.Only different instances of the block step are generated but they are processed sequentially.
    Any suggestions!!!
    Regards,
    Srinivas.

    Hello,
    You could read here:
    http://help.sap.com/saphelp_nw04s/helpdata/en/ce/bb2c421f3fda2ce10000000a1550b0/frameset.htm
    that:
    A ParForEach is not a means of improving performance. A ParForEach will not result in a split into threads.
    Could this be the reason?
    Regards
    Patrick

  • BPM Scenario Block Step

    Hi All,
    In my scenario iam getting a message through RFC.Now i have to split the messsage into multiple messages and then send each message individually to a webservice and get the response.
    I want to send them in Parallel mode by using Block step - Parforeach mode.
    Following are the steps in my BPM.
    1.Receive step - Open Syn/Async Bridge
    2. Transformation step to split the message into multiple messages.
    3.Opened a block in parforeach mode
    4.Send step in synchronous mode
    6.Collect the response in container.
    7.Ouside the block close the ync/Async bridge.
    When i exceute the scenario, i only see one message in SXMB_MONI which is from R3 system and even that message does not indicate what the problem is.The message recahed the BP engine.
    Unable to figure out what the problem is.
    Regards,
    Srinivas.

    But to use the response of all the sync messages, u must use the correlation
    See this
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
    Regards,
    Prateek

  • Error in Block step in BPM.

    Hi all,
    I am getting the error in block step, my design follows like this i defined one transformation before block step, the transformation step will splits the input bunch of records into equal no of record packets and sent to block step.. while defining block step i used foreach mode, in block step we kept one sync send step which will send message and gets response ....
    but my block step is getting error once message enters into the block...
    Thanks in advance for your valuable  suggestions and solutions...
    Srinivas

    Hello...
    >>the transformation step will splits the input bunch of records into equal no of record packets and sent to block step
    The transformation splits the message into bunch.. Put  the output in a multiline container and use this in the block step...
    >>but my block step is getting error once message enters into the block...
    What error are you getting??
    >>Thanks in advance for your valuable suggestions and solutions...
    Great to know that you are happy with the responses from the community member in this forum.. So I wish to point one more thing here.. Some of the recent threads closed by you were having closing comment as solved.. it will be better if you point out the problem and the solution which you have adopted to solve the same, so that other community member having the same problem will get a speedy solution... This is just a suggetsion from my end...
    Thanks
    Suraj

  • Block step in BPM

    Hi Experts,
      I am facing a problem in BPM,
    1) Receive the Message
    2) Split the Message
    3) Block starts
        a) Synchronous send to RFC
        b)Response from this is send to Send step
    In this scenario, the Message is going upto "BLOCK" step, and from there it is not geting executed correctly. To my surprise in SXMB_MONI, the message going to BPM succesfully and no other message found from BPM to any system(either synchronous send / send).
    Can you please help me in identifying the problem.
    Regards,
    Anudeep

    Hi,
      Problem is solved.
    Multi mapping is not giving target element. It is solved when we chnaged the input payload format, from,
    <ns1:Sender_SI xmlns:ns1="namespace">
      <rows>
         <field1>
         <field2>
      </rows>
    </ns1:Sender_SI>
    to
    <?xml version="1.0" encoding="UTF-8"?>  
    <ns0:Sender_SI xmlns:ns1="namespace">
      <rows>
         <field1>
         <field2>
      </rows>
    </ns0:Sender_SI>
    By this change the Mapping worked and scenario is running succesfully.

  • Sync Send step in Block step...in BPM

    Hi All is it possible to maintain a syncrounous send step in Block step, please let me know how....we can maintain for request message and response message.
    Thanks
    Srinivas

    Hi ,
    Its simple
    Receiver- transformation  -Block -
    Sync step -
    Container-----Block -
    Final send
    Exception -
    Regards,
    Jude

Maybe you are looking for

  • How can I open a PDF in iBooks on iPhone 5s?

    I have PDFs in iBooks. When I try to open them it says I should open them with Adobe Reader. I downloaded Adobe Reader but can't seem to get the PDFs to open with it. I found a previous thread saying that you can't use Adobe Reader with iBooks, but t

  • How to see data in BAM from sensor on BPEL activity?

    Hello, I 'am working with BPEL on Jdeveloper (last version). I have putted sensors on some activity of my process. On an other machine I have putted the BAM server (last version) which is ON and I have the BAM connection on Jdevlepper. Now I try to s

  • Word Processor for Mac?

    Hi I didn't get the full version of Microsof Word for my MacBook mainly due to its high cost. With my PC I can use wordpad to view .doc files - I was wondering what are my options with MB. I have my resume on a disk saved as a .doc file and I would l

  • EJB local invocation with getEJBLocalObject()

    Hello, Imagine I have the following business service which is an EJB: @Stateless @Local public class Service1      public void operation1()           // Treatment started...           this.operation2();           // Treatment finished.      public vo

  • Getting so many Exception messages.

    Hi All , We have functional problem like once we run the MRP plan .We get so many exception messages like "reschedule in ,rescdule out,cancel orders" . We get these messages more then 700 at one time.We tried following things in order to reduce them-