Parallel Split Dynamic Instances
HI,
I have a requirement as below
1)Requester will be having options to select the list of roles out of 10. If he selects 6 roles from requester form and he submits ,BPM starts and it has to generate the task (same UI) to all the 6 roles as selected by requester
2)All the 6 roles users has to submit the form and final report has to go for approver.
3) Now approver will decide whether to approve or reject.
Now My concern is ,if it is standard fixed roles I will model all the related UI to all these 6 roles and end with parallel Join.So that it only send the task to approver only once all the roles users has submitted.
But during run time if I pass those role names as a sting to use expression, will parallel split will send the tasks to all the roles? Will parallel join will wait till all the parallel task has been submitted and then it will send final task to approver. I know this is possible using CE 7.2 by selecting parallel loop option for the task. But our version is CE 7.1 EPH1.
Can some suggest me whether we can meet this requirement in CE 7.1 or not.
Regards,
krishna
hi,
In that case ,if i have sent 10 roles as an use expression to one human activity and if any one role (user ) submits his task, all the 9 remaining tasks which is lying in different roles will disappear???
In that case, cant tasks remain in there queue for 9 individual roles to submit there own task(instead of disappear there tasks,if one submits).So that once all the 10 roles completes there task Parallel join will merge and proceeds for another task. Please help me on this.
regards,
Krishnam
Similar Messages
-
Parallel Split / Uncontrolled Merged - Human activities don' disappear
Hi,
I am modelling a BPM process, where users can perform approvals via 2 "channels". The first "approve-option" is a Human activity (-> UWL-Task), second is another application, calling an Intermediate Message Event WebService of the process.
I modelled it using a parallel split with 2 branches (first contains the Human activity, second contains the Intermediate Message Event). By using an Uncontroled Merge after that, I want to make sure that the process continues if ONE of the two approval-options is used.
Now I am facing the problem, that the Human activity (UWL task) still appears after the Intermediate Messaging Event has been called. When looking at the Flash Process Diagramm, it shows me that the process instance continued after the uncontrolled merge (-> good), but there is still a "green dot" pointing on the Human activity (-> bad ;).
I want the Human activity to be kind of "skipped" by the BPM engine when the process flow continues, triggered by the other branch (Intermediate Msg Event).. Is there a better way of modelling such kind of scenarios or did I maybe miss something?
Thanx in advance!!!
MircoHi Mirco ,
I haven't tried this scenario myself but it should be possible.
Did you check this blog ? /people/soeren.balko/blog/2010/01/22/enjoy-netweaver-bpm--part-3-workflow-patterns-reloaded--netweaver-bpm-720 (Cancellation and Force Completion Patterns)
This will give an idea on how to model
Regards, Anil -
Dear all,
I have a requirement.
I have a Human activity in my first step of the process flow, Once this is initiated, the process should be split into 3.
Each one the above process has to go to 3 different user groups. Any one person from each group has to act on the process.
Once all 3 are completed, I need to merge the process back to a single instance and send to the next level.
Can I achieve this using parallel split & parallel join?
I haven't worked on this parallel split scenario till now. I anybody can give me the steps to do so, it will be of great help to me.
Regards,
Aparnna PrasadHi Aparna,
As rightly pointed out by MArtin, you need to have a paralell join before the next activity. Once all the three paraleell activities are completed then only the control flow will move forward and I think that is what your requirement is.
Hope this helps!!
Regards,
Arafat -
How can I execute Stored Procedures in PARALLEL and DYNAMICALLY ?
Hi
I have a stored procedure. It can be executed like this
exec test @p = 1;
exec test @p = 2
exec test @p = n;
n can be hundred.
I want the sp being executed in parallel, not sequence. It means the 3 examples above can be run at the same time.
If I know the number in advance, say 3, I can create 3 different Execution SQL Tasks. They can be run in parallel.
However, the n is not static. It is coming from a table.
How can I execute Stored Procedures in PARALLEL and DYNAMICALLY ?
I think about using script task. In the script, I get the value of n, and the list of p, from the table, then running a loop with. In the loop, I create a threat and in the threat, I execute the sp like : exec test @p = p. So the exec test may
be run parallel. But I am not sure if it works.
Any idea is really appreciated.Hi nam_man,
According to your description, you want to call stored procedures in parallel, right?
In SSIS, we can create separate jobs with different stored procedures, then set the same schedule to kick the jobs off at the same time. In this way, we should be careful to monitor blocking and deadlocking depending on what the jobs are doing.
We can also put all stored procedures in SSIS Sequence container, then they will be run in parallel.
For more information about SSIS job and Sequence container, please refer to the following documents:
http://www.mssqltips.com/sqlservertutorial/220/scheduling-ssis-packages-with-sql-server-agent/
https://msdn.microsoft.com/en-us/library/ms139855(v=sql.110).aspx
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
Dynamic Instance for a MOVIE CLIP
Hi Please help me!!!!!!!!!!
I am creating dynamic Movie Clip using as3, but I don't have
any idea about dynamic Instance name, please give me some idea that
how I can assign Instance name for a movie clip.
I am waiting your reply.
Thanks
Sushil KumarYou can assign a value to the name property of the MovieClip,
but refering to the variable name of your MovieClip instance is
preferable. This code illustrates the difference: -
Completing the 'OTHER' Human activity within a parallel split
Hi All
I was hoping someone could help me with a BPM problem i have.
I currently have a simple Proof of concept that has a parallel split with two Human Interface Ui's in them that then merge back into a final step of the BPM
I can't seem to figure out how to complete Human UI 1 if Human UI 2 is completed manually, so that when the user next looks in their UWL they have just the complete task not the step 1 they didn't manually complete and the final step. (Based on testing where i am receiving all the UWL items)
Any help would be great
thanks
TomHi All
I was hoping someone could help me with a BPM problem i have.
I currently have a simple Proof of concept that has a parallel split with two Human Interface Ui's in them that then merge back into a final step of the BPM
I can't seem to figure out how to complete Human UI 1 if Human UI 2 is completed manually, so that when the user next looks in their UWL they have just the complete task not the step 1 they didn't manually complete and the final step. (Based on testing where i am receiving all the UWL items)
Any help would be great
thanks
Tom -
Setting dynamically instance id
Hello
Is this possible to set dynamically instance id for bpel process instance?
I would like to implement following scenario: bpel process listen on aq/jms queue. Every message dequeued from this queue creates new bpel process instance. Message payload is XML element containing i.a. unique id which I would like to set as bpel process instance id. Is this possible? Is this possible to set dynamically instance id using Java API to create new BPEL process instances?
Thanks
Jarekyou can't change the instance id but the engine allows you to assign an application id (or many application ids) to an bpel process instance.
In the NormalizedMessage you could do:
nm.setProperty(NormalizedMessage.CONVERSATION_ID, your-application-id) -
Hello, just a quick levels issue (maybe) or me being out of
me depth as usual - quick summary, Im creating several movieclips
on the fly and adding external images to them. These mcs then
become moveable and I want the user to drag them into a preference
dropbox "Good","Not Sure" etc.. which are other movieclips -
because the user can drag several mcs into any one dropbox I'll
need a routine to scale and position the selected mcs - because of
this my approach thus far has been to remove the mcs from the main
timeline and add them to the dropbox with the same name and image
etc. and give that dropbox a function to scale and postion (have'nt
thought of that one yet...) I am adding and removing the mc with
this function
function isindropbox(mc:MovieClip){ //mc is the name of the
mc to add
for(var z in dropboxArry) {
if ((eval(dropboxArry[z])).hitTest(_xmouse, _ymouse, false))
{ //checks if mouse is released in dropbox
var pic_mcchosen:MovieClipLoader = new MovieClipLoader();
pic_mcchosen.loadClip("images/"+mc._name+".jpg",
(eval(dropboxArry[z])).createEmptyMovieClip(mc._name+"A",
this.getNextHighestDepth()));
deleteThis = eval(mc._name);
removeMovieClip(_root.deleteThis);
all this works fine and I can see the mc in this scenario
"MarsA" being generated in the selected dropbox, but I can't within
the same function reference it i.e.
trace(this.holder_ins1["MarsA"]._width); // or
trace(_root.holder_ins1["MarsA"]._width);// returns 0
yet if I have a button on the stage elsewhere calling this:
tempbutt_mc.onPress = function () {
trace(_root.holder_ins1["MarsA"]._width);
} // returns the correct width
does a dynamically created instance not get registered with a
player until the function that made it finishes??
Thanks in advanceMikeLB,
> I'm creating the mc on a mousedown/event/function and
> then scaling the mc on a mousemove as follows
> mouseListener.onMouseDown = function() {
> var mc:MovieClip = _root.attachMovie("my etc...
> isdrawing = true;
> }
Aha.
> and then:-
> mouseListener.onMouseMove = function() {
> if (isDrawing) {
> mc._xscale = etc
Okay, this is a scope issue. In your onMouseDown event,
you've assigned
a function literal that declares a variable mc. That variable
is scoped to
the function only, as is the case any time you declare a
variable inside a
function. As soon as the function completes execution, the
variable is
gone. That's why the onMouseMove-assigned function isn't able
to see it.
Declare the variable outside the scope of either function
first, then it
will be available to both.
var mc:MovieClip;
var isDrawing:Boolean;
mouseListener.onMouseDown = function() {
mc = _root.attachMovie(//etc.);
isDrawing = true;
mouseListener.onMouseMove = function() {
if (isDrawing) { // etc.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
SPlit Dynamic Table data (FIeldsymbol) ?
Hello All,
I have a dynamic internal Table in the form of a Field Symbol.
Now I need to split the fields of this fieddsymbols data at each field separated by a ' ; '.
and then pass the content to a character type variable.
Can anyone tell me how to achieve this ?
Regards,
Deepu.KHello David,
I have written the following code to get the data from my field-symbol table into a char field separated by ' ; '.
* From the Dynamic Table get the content into a char field separated by ';'
CLEAR lv_line.
LOOP AT <dyn_table> ASSIGNING <dyn_wa>.
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE <dyn_wa> TO <fs_split>.
IF sy-subrc = 0.
CONCATENATE lv_line <fs_split> INTO lv_line SEPARATED BY ';'.
IF lv_line+0(1) = ';'.
lv_line+0(1) = ' '.
CONDENSE lv_line NO-GAPS.
ENDIF.
* TRANSFER lv_line TO p_lv_file.
ELSE.
EXIT.
ENDIF.
ENDDO.
TRANSFER lv_line TO p_lv_file.
ENDLOOP.
But when the concatenate statement is facing a TYPE P field it's going for a dump saying :
The current statement only supports character-type data objects.
In statement
"CONCATENATE"
the argument "<FS_SPLIT>" can only take a character-type data object.
In this case, the operand "<FS_SPLIT>" has the non-character type "P".
How to overcome this situation ?
Regards,
Deepu.K -
Hi All,
I hve a different Requirement, i'm creating a rfc which execute the sql which is given by the client side n these r long single dynamic sql.
MY work is to write a (dynamic)code which split this sql in different small sql acc to their join combinations.
Let's take a exmple suppose i hve a long sql like
SELECT MARCMATNR marcwerks FROM MARC INNER JOIN MARD ON MARDWERKS = MARCWERKS INNER JOIN MARA ON MARCMATNR = MARAMATNR AND MARDMATNR = MARAMATNR WHERE MARCWERKS ='1000' AND MARAMATKL = '001'.
which used three tables MARA,MRAC,MARD in diff join conditions then I hve to split these in three diff sql for MARA MARC & MARD that gives same result as first one.
So wht should be keep in mind to design that issue that these splits sql gives same result as gives single one.
Regards
Anujhi anuj,
i would suggest that you drive your selection from MARA, as the number of entries on MATKL would be lesser as compared to MARC and MARD and morevover MARA has an index on MATKL.
so the solution would be like, first select the required article from MARA on condition MATKL into an internal table, Then do a join on MARC and MARD and perform a selection on "for all entries" of articles in the above internal table (this would ensure that MARC and MARD have selection on primary index).
I am getting a fast result doing this on nearly 500000 articles, so i think this should work pretty well for you too.
let me know, the result after you do this.
Regards,
NJ -
Turn off Parallel Query for instance
I have a new 10g RAC instance, on Windows 2003 64, which was just converted from 8i. It is currently a 1 node cluster. The database was built with parallelism turned on and now we are experiencing severe performance degradation. Quest spotlight keeps raising alarms regarding queries being forced to serialize. I have been told it would probably be better to turn parallelism off entirely (this is an OLTP instance). What parms and what settings do I need to set them to in order to shut of parallel query for the instance?
There must have been a specific reason why it was built as an RAC database
on a single node. Is it running 2 instances ?
If there's no reason to be running RAC on a single node, you could shut down
one instance.
PARALLEL_MAX_SERVERS determines the maximum number of ParallelQuery
processes (not PARALLEL_SERVER ! PARALLEL_SERVER what was for OPS).
Either
a) you really need Parallel Query Server processes for some user queries
and PARALLEL_MAX_SERVERS is too low (forcing serialisation of queries)
or
b) you should not be using ParallelQuery
b) is more likely for your OLTP environment.
Therefore, you could disable parallelism at table level or set
PARALLEL_MAX_SERVERS down to 0. -
Change parallel works dynamically
Hi,
now I am doing export data pump for a data warehouse database,
Export has been started and I use parallel=4, it is running now..
1. Say if I want to increase parallel level to 16, how could I change it dynamically while the exp is running?
( now the exp rate is 5.1/hr far, do you think this rate is normal or not...SA want to change some NFS settings. I think increase the parallel works may not increase the speed of export, based on my past experience, somehow still feel a little slower than expected)
Thank you very much.
database is 10.2.0.3 in LinuxHi,
Not got much experience with doing this through nfs - but compared to filesystem that is really slow.... WIth parallel 6 i can export 400GB in about 30 mins.....
Is there a long network distance to the nfs server?
If you plan to just load the dumpfile into another database afterwards you are probably better using the network_link parameter instead.....
Regards,
Rich -
Mult read in parallel from several instance on shared objects
Hi,
I created a root class and a area to store objects in the shared memory. Everything works fine I can write the class (from one process) into the shared memory. I can also read the class instance (form another process) from the shared memory.
Now I want to read the class instance with several processes in parallel. I get in trouble with the lock management of the SOM manager ;-}
The first instance set a read lock and the second process get a lock exception.
Is it possible to read a class instance without a read lock?
Any ideas are welcome.
TorstenProblem is solved.
-
Dynamic instance using subform
Hi all,
My requirement is to have a set of fields that needs to grow dynamically based on the input (at runtime). I wrapped those fields in a subform and in initialise event, i wrote a following logic.
<subformname>.instanceManager.setInstances(variable)
Variable will hold the no. of instance, which i am passing from context node. I have one more requirement, i am having a button in the form, if the user press the button, then the set of fields (wrapped in subform) needs to be add one more time in the form. I wrote a logic in Click event as,
<subformname>.instanceManager.addInstance(1).
My problem is, the form is showing as many instances (initially) and if i press the button, i am not able to get one more set of fields. If i remove the coding in initialise event (in subform), then if i press the button, its adding one more set of fields. Please help where i am going wrong.
P.S.: I am using Formcalc and run at client
Regards
V KumarHi Norbert,
I am using WDY Abap and not calling the form using FM. Whether i need to change the script coding. Please help in this regard.
Regards,
V Kumar -
Human Activity don't disappear / Parallel Split
Hi,
i am modelling a BPM process where users can approval via 2 branches. In both branches i use a Human Activity.
Is there a way to cancel or complete the remaining Human Activity after one was completed?
I found a Workflow Pattern for "Cancellation and Force Completion" written by Soeren Balko but in this Pattern they use a Human Activity and a Automated Activity.
Enjoy NetWeaver BPM - Part 3: Workflow Patterns Reloaded - NetWeaver BPM 7.20
regards,
SidHi Sid,
If you are in 7.3 i suppose you will be able to perform this action(to cancel or complete the remaining Human Activity after one was completed) by accessing BPM APIs from UI itself.
You should be able to access the task instance from UI for the corresponding task and end it.
Please check this [Working with BPM APIs|http://help.sap.com/saphelp_nw73/helpdata/de/9a/eebbdf59b94c3c82af598db638b0d0/content.htm].
Regards,
Unni
Maybe you are looking for
-
My Mac G5 crashed 2 years ago, and I am trying for format a 3 TB internal harddrive.
Hi There, I am trying to format a 3 TB internal harddrive, so that I can reinstal Final Cut Pro 4 on to this new drive, in order to continue editting video. My last hard drive crashed and I was unable to pull anything off of it, so I am starting from
-
Flow full page graphic with text
Working on a 200+ pg book in InDesign CC 2014. I need to place some PDF Charts that the client wants to appear on a full page, near where the text references it–so, for example, if the left hand page refers to the chart, the chart would be the full r
-
Microsoft Office Update Log -- Really quick question!
Hey, I have an log file entitled, "MAU 1.1.2 Update Log" in my root hard drive folder. Probably a dumb question, but can I delete that log safely, it just looks stupid sitting there not serving really any purpose right? Like it's only 16 KB but still
-
On Glyph palette name shows as unassigned
Hey guys, I've added some glyphs to one or our existing fonts and on the glyphs palette in InDesign CS3 that glyph's name shows as "unassigned" when I mouse over the glyph. Typically I use the Adobe glyph list (http://www.adobe.com/devnet-archive/ope
-
I'm not sure what the problem is. I let it update overnight and still no luck. I've shutdown and started over still no help. It just hangs on "configuring installation"