How to find the Parent process in workflow
Hi all,
I have a .wft file with me.
It contains atleast 8 processess.
I need to understand the flow of this workflow.
How do i getto know the flow?
How do I getto know the parent process?
I am sure if i know the parent process then i can figure out the flow as well.
Hope someone can help me in thisproblem.
Thanks in anticipation.
regards.
Hello,
You can open the .wft file using the Workflow builder and see visually how the processes are designed. You can also see which processes are used as sub processes. These will be your children flows.
Cheers,
Raja
Similar Messages
-
How to check the parent process chain of a meta chain
Hello Friends,
Recently I joined a new project, which is of environment BW 3.0. I am trying to find the dependent process chain's parent, but could'nt able to find them. I went through all the process chains manually to check whther the dependent process chain is mentioned in them, but could'nt find any......
Can any of you help me to know how to find the parent process chain of a meta chain ?
I really appreciate your time, will be awarding points to any answers.......
Thanks,Hello Radhan,
thanks for your quick reply. I searched the table based on your advice, but i could'nt get the parent process chain's name. Can you throw some more ideas please..........
Thanks, -
From which table we can find the stuck process in workflow from background
Hi There,
from which table we can find the stuck process
in workflow from background.
i mean the table which store information about going on process.
It's Urgent
Thank's
Bachan
Message was edited by:
BachanYou can also run "bde_wf_item.sql" script.
Note: 187071.1 - bde_wf_item.sql - Runtime Data of a Single Workflow Item
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=187071.1
"Oracle Workflow Cartridge (WF): Workflow Item Details Data Collection Test" should be also helpful.
Note: 369576.1 - Oracle Workflow Cartridge Workflow Item Details Data Collection Test
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=369576.1 -
How to determine the Parent process information in Oracle BPMS 10g
Hi ,
I am trying to retrieve the parent process information given the instanceId and Process Id of an instance of a process from a different process.
I am getting the instanceId of the instance in workspace using the Fuego.Papi.ProcessService and by creating the Filter.
I tried using the ProcessInstance.parent but it needs to be instantiated using the instance details of my referred instance, which i am not able to do.
Can some one shed some light on how to get the parent process details from the referred instance.
Thanks,
shravan.Hi,
If you mean to increase the request timeout i.e the time when a request is submitted to the server and the response is sent by the server it can be done in httpd.conf file located in $OracleHome/Apache/Apache/conf directory.
The attribute to be used for setting timeout is "Timeout". By default teh value is 600 seconds i.e 5 minutes.
After making these changes , run command dcmctl updateConfig -ct OHS and restart the HTTP Server. Please note these commands need to be run only if the httpd.conf changes are done through text editor.
Hope this helps.
Smita -
How to close the parent process.
Hello World
I am trying to open the external process like word using Runtime.exec(). The code below works perfectly fine. But I want to close the parent process. And only word file should remain on. How to do this? Experts please comment.
Regards,
Sachin Dare.
import java.io.*;
class Test {
public static void main(String[] args) {
try {
String cmd[] = new String[3];
cmd[0]= "cmd.exe";
cmd[1]= "/C";
cmd[2]= "C:\\Sachin\\EvicDocs\\sst58.doc";
Process process = Runtime.getRuntime().exec(cmd);
if(process != null) {
StreamHandler errorGobbler = new StreamHandler(process.getErrorStream(), "ERROR");
StreamHandler outputGobbler = new StreamHandler(process.getInputStream(), "OUTPUT");
errorGobbler.start();
outputGobbler.start();
int exitVal = process.waitFor();
System.out.println(" Exit Value is : " + exitVal);
if(exitVal != 0) {
throw new Exception();
} else {
System.out.println("Process is destroying......");
process.destroy();
catch(Exception e) {
e.printStackTrace();
class StreamHandler extends Thread {
InputStream is;
String type;
StreamHandler(InputStream is, String type) {
this.is = is;
this.type = type;
public void run() {
try {
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String line=null;
while ( (line = br.readLine()) != null) {
System.out.println(type + ">" + line);
br.close();
isr.close();
} catch (Exception e) {
e.printStackTrace();
}If you mean by "parent process " the java one starting e.g. Word, then say System.exit() after having launched the child process. Hopefully Word will not take care of stdin, stdout or err so this arrangement will be okay.
-
How to find the parent package
Hi,
The problem I'm trying to solve is, given an instance of a SSIS package being executed, I need to find the GUID and execution id of the package that calls it. According to the API (https://msdn.microsoft.com/en-us/library/microsoft.sqlserver.dts.runtime.package.aspx)
the Package class
has a property "Parent", which returns the instance of the container that contains the child package. In reality though, this doesn't seem to work. Here's what I did,
1. Create a child package that simply has a script task which writes a line to a file for debugging purpose.
2. Create a custom SSIS component in which the child package is called by the myPackage.Execute() method;
3. Given the reference myPackage, try to print the parent container id through the FireInfo() method from IDTSComponents interface.
What I got was an "reference not set to an object" error, which means the parent property is null. This leads me to wonder, when is the parent property set? Is it only set during the execution of the child package? I tried to access it both before
and after executing the child package, and in both cases the value was null.
My ultimate goal is to write the parent package id (and execution id) into the ssis log so as to easily trace the execution of packages. Another option to achieving this goal would be through passing values via parent package variables but that seems to
be too clumsy.
Any help / suggestion is greatly appreciated.
Regards,
AmosI have done the same thing via different way. Let me tell you how
Step 1: Create a log table
CREATE TABLE [dbo].[ExecutionLog](
[LogID] [int] IDENTITY(1,1) NOT NULL,
[ParentLogID] [int] NULL,
[Description] [varchar](50) NULL,
[PackageName] [varchar](50) NOT NULL,
[PackageGuid] [uniqueidentifier] NOT NULL,
[MachineName] [varchar](50) NOT NULL,
[ExecutionGuid] [uniqueidentifier] NOT NULL,
[Operator] [varchar](50) NOT NULL,
[StartTime] [datetime] NOT NULL,
[EndTime] [datetime] NULL,
[Status] [tinyint] NOT NULL,
[FailureTask] [varchar](64) NULL,
CONSTRAINT [PK_ExecutionLog] PRIMARY KEY CLUSTERED
[LogID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
ALTER TABLE [dbo].[ExecutionLog] WITH CHECK ADD CONSTRAINT [FK_ExecutionLog_ExecutionLog] FOREIGN KEY([ParentLogID])
REFERENCES [dbo].[ExecutionLog] ([LogID])
GO
ALTER TABLE [dbo].[ExecutionLog] CHECK CONSTRAINT [FK_ExecutionLog_ExecutionLog]
GO
Step 2: On every package Create three Execute SQL Task
Execute SQL Task 1 : On begin of package
Execute SQL Task 2 : After completion of all task
Step 3: Now create two SP
For EQT #1
--Root-level nodes should have a null parent
if @ParentLogID <= 0 set @ParentLogID = null
--Insert the log record
insert into dbo.ExecutionLog(
ParentLogID
,Description
,PackageName
,PackageGuid
,MachineName
,ExecutionGuid
,Operator
,StartTime
,EndTime
,Status
,FailureTask
) values (
@ParentLogID
,@Description
,@PackageName
,@PackageGuid
,@MachineName
,@ExecutionGuid
,@operator
,getdate()
,null
,0 --InProcess
,null
set @logID = scope_identity()
EQT #2 On End
update dbo.ExecutionLog set
EndTime = getdate() -
,Status = case
when Status = 0 then 1 --Complete
else Status
end --case
where
LogID = @logID
You can create similar SP for OnError if you want
Step 4: Now create two variables LogId & parentLogId Int default value 0
Step 5: Step up parent package variable configuration for logId like below
Step 6: Call these SP in respective execute SQL task
Hope this will help
Glad to help! Please remember to accept the answer if you found it helpful. It will be useful for future readers having same issue.
My Profile on Microsoft ASP.NET forum -
How to find the SAP ID of workflow amdin?
Hi,
I need to send one notification mail to workflow admin in my worklfow . Please can anybody give me the table name or give me the FM available to find the workflow admin.
Please it urgent.
thanks
ManjuHI Manjunath,
I guess you have asked the same question in BPM workflow forum.Please get the answer from there..
Pankaj -
How to Get the Parent Process ID from Child BPEL Process
Hi All,
We have a requirement to get the Parent BPEL Process ID from Child BPEL Process. One way is we can pass the Parent BPEL process ID from Parent BPEL Process to Child BPEL process. Is there any standard function available to get the Parent BPEL process ID from Child Process?
P.S: We are using BPEL 10.1.3 Version.
Please share any info on this.
Thanks in Advance,
SaravanaHi Saravana,
The existing methods in 10.1.3x allow a following (a bit of a convoluted way):
In a BPEL Java embedding activity, you can use the following code to get the parentProcessname:
String parentInstanceId = getParentId();
String parentProcessname = getLocator().locator.lookupInstance(parentInstanceId).getProcess().getProcessId().getProcessId();Hope this helps,
Regards,
Shanmu
http://www.prshanmu.com/articles/ -
How to get status of a sub process from the parent process.
Hi,
I want to get the status of a subprocess from the parent process (i.e. success or failure).
How can I get this.
Thanks in advance.
Byehave a look at the workflow built-in vars:
WF_ACTION_ERROR and WF_ACTION_RESULT or WF_CASE_RESULT
WilfredS -
How to find the active workflows in the system
Hi,
we are going for upgrade, we want to find out the active workflows in the system
please guide me, how to find the active workflows in the system
is there any standard table to find the active workflows in the system
please suggest me the step by step process to find the active workflows.
thanks,
chandraWelcome to the Forums.
Please go through the FAQ of the Forum.
You has posted your query in the wrong Forum, this one is dedicated to Oracle Forms.
Please try {forum:id=1050}.
Regards, -
How to find the workflow admins for all costcenters ?
Dear SRM gurus
We are using Classic scenario with N th step workflow with BADI.
we have a requirement.
How to find the workflow admins for the particular costcenters.
we used HRV1222A where ATTRIB EQ <Z attribute>(This is our own attribute to group all the costcenters)
used table HRP1001 to find the Admins but results are not correct because it is not showing my user id(I have all authorisations).
Is there anyway to find all the admins for a cost center(users are more than 7000+)
can anybody send work flow related presentations or cookbook
Thanks in Advance.
srinuhi
I have not received any thing.Please send again
[email protected]
[email protected] -
How to find the recent changes done in the workflow by user id ?
Hello all,
How to find the recent changes done in the workflow by user id ?
I have made changed in Production system .
Like changing the status ,
changing the agent ,
but for these it will , not ask for any request .
So i want to know is there any method to find what are the changes done by me ?
Thanks and regards
PremHi,
This is caused by mandant settings in scc4. It's better not to make changes in PRD, because then your DEV en QA systems differ.
Kind regards, Rob Dielemans -
How to find the last modified date of a workflow.
How to find the last modified date of a workflow.
thanks.Hi,
There is nothing as standard that does this - you could write some code to determine the latest begin_date from each of the workflow tables and assume that this was the last time that the definition changed.
What you need is something like this:
select max(wfa.begin_date)
from wf_process_activities wpa
, wf_activities wfa
, wf_item_types_tl wit
where wpa.activity_item_type = wfa.item_type
and wpa.activity_name = wfa.name
and wfa.version = (select max(version) from wf_activities wfa1 where wpa.activity_item_type = wfa1.item_type and wpa.activity_name = wfa1.name )
and wpa.process_item_type = 'your item type'
and wpa.process_item_type = wit.namewhich I think gives what you want.
HTH,
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com -
How to launch a function/procedure without suspending the parent process?
Hi everybody,
I would like to know if I can define something as follows in PLSQL:
procedure master
begin
call a procedure_child;
End master;
I would like that the procedure master does not suspend the execution and wait that the procedure_child finishes in order to resume the executions with the further code.
Thanks a lot in advanced
TomeuIn the future, please stick to posting in a single forum.
Re: How to launch a function/procedure without suspending the parent process? -
How to find the code which processes idocs
I am looking for a descriptive short document which would ideally give me comlete picture in IDOC processing, transactions used etc.
E.g
My XI sends idocs to an RFC port of an ERP system. All I know is message type FIDCC2(found it in message mapping and under a partner profile ias imput parameter in transaction we20 for a partner profile with rfc destination of its own rfc destination i.e. PR1CLNT001)
. However in this example I do not find source code which process then this idoc(probably as it is original idoc)?
How to find the codeJan
You can check the documentation and source code of two reports
RBDAPP01 & RESOUT00 ( https://service.sap.com/sap/support/notes/1333417)
https://service.sap.com/sap/support/notes/527481
Few more IDoc related tcode, we05,bd87 etc...
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0087780d-81b0-2a10-eb82-86e1062f1a2d?overridelayout=true
Edited by: Anindya Bose on Aug 6, 2009 7:34 PM
Maybe you are looking for
-
24' Cinema Display with Dead Pixel
I just exchanged an LED Cinema Display under AppleCare for the blinking/cord problem. Got the new one set up and see that it has a dead pixel. Is there a fix for these, especially being brand new, or do I have to exchange this one too? Running tests
-
Syncing bookmarks in iPhone5 - solved
I had a hard time with this, talked to 3 apple support people with no success. The iPhone safari had picked up a HUGE list of bookmarks and I wanted to cut it down to about 10 for the iPhone. Simplify, you know? One apple guy told me you have to take
-
My iMac locked up when waking from sleep, so I restarted it. I got a strange multiple note beep that repeated three times. It began to startup and then I got the folder with a flashing ?. I booted from the OSX disk and used disk utility, but my hard
-
Verizon Error Message when Calling out?
Whenever I call out to a select few numbers, I get an error message that says "We could not complete your call at this time. Announcement 3 switch 20-1" Does anyone know what this means?
-
CCMS is used for system monitoring , why should we use solution manage ?
CCMS is used for system monitoring , why should we use solution manage ? Whats the relationship between CCMS system and SolMan? Thank you .