on 09-22-2008 6:20 AM
Hi,
Can anyone help on this.
1. How to create sub process under a process.
In one process I am able to insert BLOCK>ACTION>CO. But there is no option to insert subprocess.
In the below meintioned link "Composite application framework Overview", at page 17 it was mentioned that I can attach block/process to a process.
I tried Initiate Process Co. But this is not fulfilling my requirement..
2. In my case I have to start subprocess and ensure that main process should not be closed untill subprocess is not closed.
If I use Initiate Process CO , I can start the other process but I am not able to fulfill second condition i.e. Closing of main process after closing of subprocess.
hi,
I am not sure if ot will help, but you maybe try expose a process as web service, as describe in this doc:
http://help.sap.com/saphelp_nwce10/helpdata/en/44/44c59fd7c72e84e10000000a155369/frameset.htm
You can then try to integrate the process as ws co in you outer process.
best regards,
v s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If subprocesses are not possible can anyone please tell me the utilization of isSubProcess() under
u201CInterface IGPProcessInstanceu201D in JAVADocs.
https://help.sap.com/javadocs/nwce/current/gp/index.html
isSubProcess()
Returns true if this instance is a SubProcess, false if this instance is a top-level process.
Thanks & Regards,
Pratik Khandelwal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I tried using web service as mention on that document. i am able to start process but the problem is process is initiated by Guest. Do u know why ? In my process I assigned roles as initiator.
Regards,
Pratik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patrik,
Sorry, I didnu2019t read that you already tried to use this CO!
Well, canu2019t you add just the Blocks of this sub process under the main process? Or your requirement needs that the execution is the entire sub process (as a process)?
As far as I know, itu2019s not possible. When I need to do this, I did as I mentioned before.
Another approach will be a manual control of process execution. Example:
CO generate an unique ID at time to call the sub process (ex: 1), this uid is passed as input parameter of sub process and saved into a custom table with new status. At last step of sub process, you change status of this record in custom table. In main process you need a background execution or other CO to read this data checking for this status change. When status comes to u201Cfinishedu201D you continue main process execution.
Itu2019s very dirty solution, but I think that if you really have to use a defined process, this is the only way to maintain the control of sub process under the main process.
Best Regards,
Pedro Nunes
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.