Activity looping/parallel for each: Output mapping and Inturrupting

Hello,
we want to model and execute an approval process with one requestor and several approvers. All assigned approvers get the approval task simultaniously to save time. Each approver can make a decision like Reject, Rework, Approve and also add comments.
Only if all Assignees make their approval, the request gets approved. On the first occuring "rework" or "reject" decision, all open tasks have to be removed from the assignees UWLs; their results become unnnecessary.
Please have a look at the corresponding model on [http://www.gm.fh-koeln.de/~wi1744/pubfiles/parallel_for_each_task.PNG].
As you can see in the model, we made an approach using a parallel for each Human activity. In our process the tasks show up in parallel on each adressed UWL. Thats fine so far but we are facing two problems.
1. Output Mapping of parallel Tasks
1.1 Are we right to assume that for each task output the activitys output mapping is done?
1.2 Are there differences to the regular output mapping we have to consider?
2. Stopping the parallel tasks and continuing the process flow .
We said as soon as any result like rework or reject comes out, the whole activity should stop and all open tasks be removed from the UWL. How can this be modeled and realised?
Thank you for any input!

Hi ,
For the 2nd question you can achieve that behavior  using "Intermediate message events". I have created a dummy process [http://imageshack.us/photo/my-images/24/sdn1.png/] by which you can achieve this. Hope this helps. For the 1st question can you please be more specific about what is it you wanted to do. 
Thanks & Regards,
Rohit

Similar Messages

  • Difference in completion deadline for tasks which are parallel for each

    Hello Everybody,
    We have critical problem wherein we have set a completion deadline for a task against a human activity which is parallel for each but in the runtime, a difference of 1 second is appearing for the parallel tasks generated.
    We have raised a COMPLETIONDEADLINEISCRITICALEXCEPTION and if the deadline is met we are executing an ABAP RFC for auto approval.
    The automated step for executing the RFC is also parallel for each. When the tasks are created only one gets cancelled on completion of deadline while others get suspended. I am assuming this is happening because of the difference of 1 sec in the completion deadline for parallel tasks in the runtime.
    This is very critical and i request all you to please provide your inputs.
    Thanks & Regards
    Gaurang Dayal

    Hi Guarang,
    Do you expect that all the parallel tasks are instantiated at exactly the same point in time? That is an unrealistic expectation....
    First off, the Par Foreach doesn't spawn multiple threads, it executes each 'parallel' action in sequence in the same thread. Parallel in this context means all the actions (Task initiation) will occur and a process token will stay at each Task. For the token to pass the subsequent merge ALL the parallel tasks must be complete (all tokens must arrive at the merge). So you won't ever get all the tasks initiated at EXACTLY the same time.
    Further, even if the BPM kernel did spawn multiple threads (and there are very good reasons it won't!) it is rather unlikely that in these different threads you would for sure get all the initiations at EXACTLY the same time.
    If it's important that you get the task completion deadline the same in all tasks you should get a suitable timestamp in a mapping step which precedes the split and then set the deadline explicitly using that value when the task is initiated - i.e use a specific time value not an offset time value.
    An FWIW you should read and understand the documentation on Boundary Events so that you can know what to expect when one is fired and you know how to handle them.
    regards, Nick

  • How to extract error message for each output type.

    Hi All,
    Need your advice on the problem that I have.
    Expected Solution:
    1. Create an extra column for displaying header output error message from VF02 into a report program.
    Steps that i have did:
    1. Go to transaction VF02.
    2. Enter a billing document number.
    3. Hit enter. Click "Goto" > Header> Output
    4. Click on the status that is red colour. Click on "processing log".
    5. Press "F1" on the red colour message type. (Found out that it is a structure).
    Need your advice on the question that I have:
    1) How do we know that which "not successfully" process output type belong to which error message class?

    Hi Brad Bohn,
    Thanks for your advice. I am so sorry about that. Thanks so much for your advice. And i have follow your advices and steps given by you. Appreciate it very much.
    But for this issue about how to extract message for each output type. I have follow your steps by using SE30 to trace VF03 and I managed to found out that they are using this function module "WFMC_PROTOCOL_SHOW". Need your advice on this, how do we know each different output type with different error message is pulled from?
    From my further research and in depth debugging into this function module, i  manage to find this global internal table "PROTO_TAB" which stores all the text messages for each output.  How does this internal table is populated?
    Thanks in advance.
    Regards
    Shawn

  • How do I program a NI 6602 card to send trigger pulses, one at each output port, triggered by an input trigger signal, using only one counter for each output port?

    Hello,
    I have managed to program a NI 6602 card in LabView to send pulses on three different output ports, one pulse on each output port (with individually chosen delays) for each input trigger pulse coming on a separate input port. It is the DAQmx Create Channel (CO-Pulse Generation-Time)-VI that I have used for this, see attached code. However, this VI controls both pulse delay and pulse width, and therefore uses two counters for each output port (although you only specify one counter in the VI input signals), as I understand.
    In my application though, I only need to have the delay chosen, the pulse width can be arbitrarily short, and thus I should only need one counter for each output port. How do I accomplish to program this in LabView?
    Best regards,
    Claes
    Attachments:
    Configure Side Camera Flash 1 Triggering.vi ‏47 KB

    Well you're welcome to do that--it will work just fine as long as you are configuring a start trigger.
    <rant>
    However, personally I really don't like putting multiple counter outputs in the same task.  I have seen so many people assume that the counter outputs would be synchronized due to having them in the same task when this is not the case (you need to configure a start trigger in order to synchronize the counter outputs even if they are in the same task).  This is the only case I can think of where multiple channels in a DAQmx task are not automatically synchronized.
    As an example:
    Running this on my PCIe X Series gives a measured 2 edge separation of 1 ms + {7.78 us - 10.11 us}.  This would likely be much worse on a bus with more latency (e.g. USB).
    The resulting output is close enough to what you might expect that it might go unnoticed, but really these counter outputs are not synchronized and it would be easy to glance at the code and not even think twice about it.  For the small amount of extra work on my end to create a separate task for each counter, it really clears up some ambiguity about what the counters are actually doing.  For me it's worth it.
    So again, for your case there really isn't a problem with having the counters in the same task since you are using an external start trigger anyway.  I have just gotten in the habit of avoiding doing this.
    </rant>
    Best Regards,
    John Passiak

  • HT204053 I have one apple ID that my entire family has been using.  How do I create new apple ID's for each of us and move the appropriate content to each new ID from the original apple ID now that we all have our own devices?

    I have been using one apple ID for 4 family members.  Up until now it hasn't been a problem but now that we all have our own devices how do I create new apple ID's for each of us and them move the approprioate things from the original apple ID account to the new ones for each of us?

    stuartx4 wrote:
    Thanks Csound1, wish I have seperated everything from the beginning but when your kids are little and start buying music etc it just didn't seem like an issue.
    That has a familiar ring to it

  • Why do i need to buy the same app for each device over and over again??

    why do i need to buy the same app for each device over and over again??
    and why cant i just pay for the app ones for all devices as long at it is with the same account??
    i hate that i have to oay for the same game or app three time one for ipad ones for iphone and ones for mac please do something about that apple..!!!

    First, you posted in the Mac App Store forum which are apps for the Mac OS X, not iOS devices.
    You do not need to re purchase your apps. Connect your iOS devices to your computer, launch iTunes. From the menu bar click Apps then click Sync
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the app does not accept the change, and automatically enters its own time. Am I doing something wrong?

    I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the application does not accept the change, and instead automatically enters its own time. Is there a work around this? Or am I doing something wrong? Please Help!
    Thank you,
    lagrl

    Have you tried turning off automatic transitions ? Choose file - project properties and follow the dialogue box to change duration with a slider.  iMovie also doesn't allow a transition to be more than 50% duration of the clip its attached to. In other words if the clip is 4 seconds the transition cannot be more than 2 seconds and remember that relates to the first clip as the following clip (right side) is pulled back to overlay it.
    Does this help.  Perhaps you already know this ?

  • I need to check comparative three conditions and for each output I need to perform some action. can anybody please suggest

    I need to check three comparative conditions and for each status I need to perform some action. can anybody please suggest
    Requirment:
    Need to check if a numeric value is within a number range by using comparative function. Depending on status i need to ggive a constant input to numeric function.

    Easiest is suing an array of range boundaries, e.g. as follows:
    (Found here)
    Now it is fully scalable and  independent of the number of ranges. The solution in the earlier post would get complicated quickly whenever the number of ranges or boundary locations changes.
    LabVIEW Champion . Do more with less code and in less time .

  • Check box for activating Page break for each subform in Binding is inactive

    Hi,
    I am designing a PO layout copying MEDRUCK_PO to a custom form.
    I am facing a problem here, as the checkbox for "REPEAT SUBFORM FOR EACH DATA ITEM" in Binding Tab is inactive(display only mode). Also in Subform tab, checkbox for "ALLOW PAGE BREAKS WITHIN CONTENT" is in inactive mode.
    I can see the same checkboxes are active in the standard Adobe form on my system.
    Can you please help me understanding the issue with it?
    Thanks,
    Divya

    Dear Friends,
    I have got the solution from my technical lead for the below issue, I like to share this resolution with you all.
    Best Regards,
    Ravishekar.Thallapally
    *&      Form  after_line_output
          After line output event is handled via this form
          L_V_LINE : Capturing line value for page break.
    FORM sub_after_line_output1 USING l_v_line TYPE slis_lineinfo."#EC CALLED
       DATA: l_v_int  TYPE int1.
       IF l_v_line-sumindex IS NOT INITIAL .
         l_v_int = l_v_line-sumindex MOD 2 .
         IF l_v_line-subtot = 'X' AND l_v_int = 0.
         Write:/ sy-uline.
            NEW-PAGE.
           CLEAR:l_v_int.
         ENDIF.
       ENDIF.
    ENDFORM.                    " after_line_output

  • Problem to calculate the coherence (using NetworkFunction-VI) with only 1 row of data for each, the stimulus and response input

    Hello,
    I am trying to calculate the coherence of a stimulus and response
    signal using the Network Functions (avg) VI's. The problem is that I
    always get a coherence of "1" at all frequencies. This problem is
    already known (see KnowledgeBase document: Why is the Network Functions (avg) VI's Coherence Function Output "1"?).
    My trouble is that the described solution (-> the stimulus and response input matrices need to have at least two rows to get non-unity coherence values) doesn't help me much, because I only have one array of stimulus data and one array of response values.
    Thus, how can I fullfil the 'coherence-criteria' to input at least two rows of data each when I just have one row of data each?
    Any hint or idea is very much appreciated. Thanks!
    Horst

    With this weird board layout, I'm not sure whether you were asking me, but, on the assumption that you were, here goes:
    I found no need to use the cross-power spectrum and power spectrum blocks
    1... I was looking for speed.
    2... I already had the component spectral data there, for other purposes. From that, it's nothing but addition and multiplication.
    3... The "easy" VIs, assume a time wave input, as I recall. Which means they would take the same spectrum of the same timewave several times, where I only do it once.
    I have attached PNGs of my code.
    The PROCESS CHANNEL vi accepts the time wave and:
    1... Removes DC value.
    2... Integrates (optional, used for certain sensors).
    3... Windows (Hanning, etc. - optional)
    4... Finds spectrum.
    5... Removes spectral mirrors.
    6... Scales into Eng. units.
    7... From there, you COULD use COMPLEX-TO-POLAR, but I don't care about the phase data, and I need the MAG^2 data anyway, so I rolled my own COMPLEX-TO-MAG code.
    The above is done on each channel. The PROCESS DATA vi calls the above with data for each channel. The 1st channel in the list is required to be the reference (stimulus) channel.
    After looping over each channel, we have the Sxx, Syy, and Sxy terms. This code contains some averaging and peak-picking stuff that's not relevant.
    From there, it's straightforward to ger XFER = Sxy/Sxx and COHERENCE = |Sxy|^2 / (Sxx * Syy)
    Note that it uses the MAGNITUDE SQUARED of Sxy. Again, if you use the "easy" stuff, it will do a square-root operation that you just have to reverse - it is obtained faster by the sum of the squares of the real and imag parts.
    Hope this helps.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks
    Attachments:
    ProcessChannel.png ‏25 KB

  • How do I set up different icloud accounts for each family member and make them able to access them on our common mac using their user name on the mac.  I am doing this to make sure kids don't get access to our messages.

    We have several apple products in the family.  I would like to set up different icloud accounts for each memeber.  I lately noticed having activated different devices with same icloud account that each device can access everyones messages by going in their settings and clicking which number or email they want to use to see messages.  Let me make sure I am understood, on my sons ipod in his messages settings he can switch to my cell number and see all my messages.  Re setting the devices isn't my great issue but can i set up each kids user account on my mac to their individual icloud accounts?
    Thanks!

    Any devices connected to the same icloud account can sync all the data on that account.  For this reason an icloud account is really for a single user.
    On a mac, if each user has their own account, then the itunes for that mac account should be set up to connect to that user's icloud account (System preferences>icloud).

  • PO Output Message type to set default for two output (neu and z_mail)

    Hi,
    we have a requirement for two output( print output and external send) at the same time when the po saved or me9f, and me99 trigers. kindly guid me the procedure to do this setting in nace,mn04 and spro.
    thanks..,

    Hi
    YOur condiation record should have correctly for that, Genaraly for Email it will ask more then one combination like PO document type and Porg, Doc type/Vendor/Plant
    If condiation recocrd id correct then you can get automaitaly when you craete the PO
    Tcode for Creation of condiation record is NACR
    Bhima

  • Splitting and executing the query for each 1 lac and executing parallel.

    Hi All,
    We have a table with around 10 keys and each key is having more than millions of records for a given date.
    And my requirement is to find the sum of the sale_price of each keys.
    ( example :
    Select key, sum(sale_price) from table1 where date1=sysdate
    group by key
    Since, each set of key contains more than a millions of records, It's time consumption is too high.
    Is thr any way to achieve as below,
    For key 1 (assume 1 million records)
    and we will spilt these into 100 parts and execute parallelly.
    At the end get sum of all 100 parts.
    Similarly for other keys....
    Is it possible to divide the records into 1 lac each and give it for parallel execution ?

    If the key column is also the partition key, I would expect that to work well with parallel query. What have you tried that isn't working? Also what is your Oracle version?

  • Best map app for mileage counter, maps and directions?

    I'm traveling across country and I want to find a map app that not only shows routes, directions, etc. as maps does, but also can tell me the mileage between two cities, say Chicago and Baton Rouge? Anyone know of a good app for that?

    Even though I have a beef on this board about it (map download times) you might want to check out the Motion X family of apps. I have the GPS HD that is for the iPad and it's a nice looking app, lots of features. It does have a measurement tool to get distances between two points, but it is "as the crow flies" and not over roads.
    My app was only $2.99 so it's not a bad deal.

  • Error when activating update rules for R/3 training and event management

    hi all,
    when iam trying to activate update rules for training and event management cube it is giving fallowing error."IC=0PE_C01 IS=0HR_PE_1 error when checking the update rules
    Message no. RSAU461".
    please guide me how to solve this issue.
    thanks & regards
    Vamshi D Krishna

    Hi Vamsi,
    Have you followed the following document to implement HR ?
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0780530-bf03-2b10-d5ad-e9e8a53def23

Maybe you are looking for

  • Heat Dissipation Problems

    I'm having difficulty using my current Pavilion dv4-1301TX for long hours.  Heat generated from (I believe) the HDD unit just below the left hand side of the touch pad, is causing too much discomfort while using.  Are there any solution to this probl

  • I got a brand new ipod touch 5th. i backed it up and now it won't turn on. Why? what's going on?

    I bought a 5th generation iPod touch. everything was working fine. until I tried to back up my music from iTunes. it said it would restart after "backing up" and it didn't. this is the second iPod this has happened to. I left the last one on the char

  • T_Code: S_PL0_09000158-(pgm:RFUSVS14) Report issue[Spain Specific Report]

    Dear Customer, We have used S_PL0_09000158 for annual Operation Report in order to submit Tax information to agency. However we have found some balance discrepancy issue between FD10N-Customer Balance display and S_PL0_09000158. I have identified thi

  • Photos - 2 differnet folders (on different drives on Mac)

    Hi, I have a requirement to have 2 different folders of images on my Ipod - work and play. These two folders are on different drives and have to remain that way. How can I get my pod to sync both of them - currently it willl delete all of play when g

  • This iphone currently linked to Apple ID

    Dear all, I bought brand new iPhone 4S, before 20 month from UAE operator, recently am visiting Saudi, a problem happen with the device, my brother took the device to settle the issue, but unfortunately they say we need Apple ID and password, we gave