Script QPAC: how to get a process manager instance?
Hi,
I was desperately fiddling about the scripting QPAC, trying to get an instance of process manager.
Since PATAbstractServiceEx is an abstract class, I cannot instantiate it and call its getContext().getProcessManager() methods.
I also tried to access a session using QLCSessionFactory.createSession("...") and then calling the session's getProcessManager() method. But no sessions were found.
Does anyone know, which classes/methods to use in order to get a process manager instance?
Regards,
Steve
import com.adobe.workflow.manager.ProcessManager;
ProcessManager _pm = patServiceContext.getProcessManager();
Page 36 of "Creating workflows".
Howard
http://www.avoka.com
Similar Messages
-
How to stop Oracle Process Manager(Instances) ?
Hi,
I have installed OBIEE 11g. For some purpose I tried to stop the Oracle Process Manager(Instances) in services.msc. But it not get stopped its keep showing as stopping.
Is there any command to force shutdown this serives or is there any other way to stop this?
Thanks,
SatheeshHi User6787,
I have did what you said? while doing that only I got that issue.
What Saichand told worked well.
Thanks,
Satheesh -
How to get the process id of a sql statement or a session ....
How to get the process id of a sql statement or a session . ..?
ThanksWhat about this?
SELECT pid
FROM v$session s, v$process p
WHERE p.addr = s.paddr
AND s.sid = :sid; -- replace :sid with your session idRegards.
Al -
Hi All,
How to get the process instance key so as to retry a rejected task through API while AD provisioing state?
API URL - http://docs.oracle.com/cd/E27559_01/apirefs.1112/e28159/toc.htm
ThanksTo retry a task that is in a rejected state, you use the SCH_KEY which is the task key. In OIM, all rejected tasks are listed in the OTI table. It contains all the important information about a rejected or pending task.
You can use the APIs found in the tcProvisioningOperationsIntf class to retrieve open tasks.
-Kevin -
How To Get GP Process Parameters in a Webdynpro Application runtime
Hi ,
Iu2019 ll hope you can help me to solve my problem with GP process.
Iu2019 m trying to get GP process parameters from a Webdynpro application.
I have to get parameters during the process runtime in every step of the process using
a webdynpro application with the following code:
IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
try {
IGPProcessInstance processInst = rtm.getProcessInstance(processId,userContext);
IGPProcessInstanceInfo procInfo = rtm.getProcessInstanceInformation(processInst.getID(),
userContext.getSAPUser());
IGPStructureInfo inputstructInfo = processInst.getTemplate().getInputParameters();
IGPStructure inputparams = GPStructureFactory.getStructure(inputstructInfo);
} catch (GPEngineException e) {
// TODO Auto-generated catch block
// e.printStackTrace();
manager.reportException("GPEngineException:"+getStackTrace(e), false);
} catch (GPInvocationException e) {
// TODO Auto-generated catch block
// e.printStackTrace();
manager.reportException("GPInvocationException:"+getStackTrace(e), false);
But printing the values of attributes with u201Cinputparams.getAttributeAs... ("param name")u201C the value returned is always 0. On the contrary if I check the same parameters structure in the runtime
GP view of the portal, the values are those that I have set in the start process wizard.
Have you a solution for this question?
Thanks in advance
Lucahi Abhimanyu
I believe originally access to session was deliberately not made available inside WDA.
Growing security concerns due to misuse of session information and
perhaps other reasons as well.
X.509 is considered a better approach.
This may not help you in your problem.
But you may see a trend in WDA pushing more robust and client independent
approaches.
Full x.509 access should remove the need for session fiddling.
Also when developers access such session info directly, there is a possiblity
when they dont understand the technology exactly that they create a security hole.
You may know how to do safely, it is however discouraged.
Im not aware of a way to get at the session info inside the WDA framework.
Well not without a mod to the framework.
It may be possible without a mod, but I dont know the trick.
If someone has a little trick... please post.
You may need to use BSP, if your only solution requires access to the session info.
regards
Phil -
How to get the process chain name if we know the data target in sap bi
Hi SAP BI Gurus,
Can any help me how to find the process chain name if we know the data target name
i mean if i know the info cube name how to find the relavant process chain which is holding that info cube
Thanks,
JoeHi R Kumar,
Check the table RSPCCHAIN.
I mean, Use Table RSPCCHAIN and give the local chain tech name in VARIANTE field and search, in out put you will get meta chain name under the field CHAIN_ID.
Thanks,
Sreehari. -
How to get child process instance id from main process
Hi All,
I have a main process invoiking a child process 1 and child process 1 inturn calling child process 2.Is there any way to get the child process 2 instance id from main process or main process instance id from child process 2.. Using tree finder in BPEL Control i can find the direct sub process(child 1) instance id from the main process instance. Is it possible to trace Sub process 2 instance id without going for the instance detail of sub process 1.
Thanks in advance
ChitraDeviyou could easily derive this from the bpel cube_instance table. using cikey and parent_id columns. you can use IInstanceMetaData javadoc, it has method called getParentId( ) to get the id. you can get the root id (instance-id of the main bpel process instance) using getRootId( ). you can checkout this blog.
http://tech-sash.blogspot.com/2008/04/oracle-soa-suite-retrieving-process.html -
How to get the Solution Manager Installer
Hello.
I am trying to install Solution Manager and then get the Solution Manager key.
*But I can't download the Solution Manager installation Program. I am searching the installer for a almost week
Please can anybody help me?Hi,
If you are looking for installing solution Manager you need to have below softwares
1:IM (Installation Master)
2:Exports DVD's
3:Kernel DVD
4:JAVA DUMP
5:Database software
6:JCE Polic
7:J2SDK
If can find the same at service market place www.service.sap.com/swdc>Click on tab Installation and Upgrades>click on A-Z Index>Right side colum click on S>now select solution Manager,there you can find the list of softwares you are looking for.
Regards
Uday -
How to get the Process order Number (Deatials by providing Salese order)
Hi
I want help to get the Process order details against with sales order number
in which table i ll get this information and any particular Function module is available???
Regards
Jagadishhere KDAUF is empty
Any other table is there i checked AUFK also AFKO also i ma not getting. -
How to get the process id of a java program
Hi,
I know this has been discussed before. But I could not find an answer. So, I'm putting it again.
How can I find out the PID of an application (I know the name of the application) on any OS?
Regards.1) Use JNI ( http://www.esus.com/docs/GetQuestionPage.jsp?uid=1766 )
Something like
JNIEXPORT jint JNICALL Java_Pid_getPid(JNIEnv *env, jobject object) {
return (int) GetCurrentProcessId();
2) In JDK 1.5, you can use the java.lang.management API, at least on Windows, to find out the process ID.
http://www.esus.com/docs/GetQuestionPage.jsp?uid=1796
http://www.esus.com/docs/GetQuestionPage.jsp?uid=1766 -
After creating a Powershell script monitor - how to import in Operation Manager 2012 ?
Hello!
I just completed all the steps in this article:
http://social.technet.microsoft.com/wiki/contents/articles/16752.management-pack-composition-exercise-2-creating-a-monitor-based-on-a-windows-powershell-script.aspx?CommentPosted=true#commentmessage
So now I guess that the just created Management Pack should be imported in Operation Manager 2012, and then also folders and views should be created in order to have it showing green/red based on the values returned by the script.
In the article there's no pointer to that procedure, so can you please provide a good link where the steps are explained?
thanks!Have a look at the following video, it steps through how to create rules and monitors using PowerShell scripts
https://technet.microsoft.com/en-us/video/how-do-i-create-a-rule-and-monitor-using-a-windows-powershell-script-in-a-system-center-operations-manager-management-pack.aspx
Cheers,
Martin
Blog:
http://sustaslog.wordpress.com
LinkedIn:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
How to get current process version when photos imported?
I have Lightroom 5 but my photos are still imported with the old process version (2010) How can I get the current process version (2012) to be applied automatically on my imported photos?
Hi Andreas,
Did you ever get an answer to your problem?
I am facing the same issue now and i cannot get a lead.
Thanks,
Dimitris -
How to get add-on manager to stop reporting an addon as out of date.!
With update of Firefox v35 & now v36... The add-on manager is reporting that my flash player is out of date (See screenshot : Add-onMngr-1), I have followup with clicking on the "update now" link I get instead yet the following : plug in check & update page, ( https://www.mozilla.org/en-US/plugincheck/ ) I get the following back from there. (See screenshot : Plugincheck-n-update-1)
As you can see, it is up to date...
I have no idea of how many others, who have Firefox, have ran into this same issue.. but I feel that I speak for all of them in this... Get this fixed.! It is a major pain, when sites you go to fail to work as they should.. (case in point, SilentHunterOnline.com, I go to their main sign in page, enter my log in ID & password, get signed in an taken to play now page, click on the link there, an have game start loading... I get several messages about the flash player, I click on continue, it starts to load an then bam.!, I get dropped right back to the page for play now... repeatedly) with your add-on manager erroneously reporting that your flash is out of date, when it is not.
In addition to that, kindly restore to us USERS... the right to choose.. or to NOT choose.. to allow flash to operate.. I, for one, do NOT appreciate the high handed mentality behind only the choices of "Ask to activate" or " Never activate" only...Hello James,
Just some other info.. I recently did a wipe & reformat on my computer (12/31/14, to be exact..) an did a complete reinstall of all things needed afterwards..
1 other thing, that I did not get to also post initially.. is the manager, is also stating that I have "Java Development Toolkit", which to the best of my knowledge, i don't.. the only thing in relation to "Java" that I know of, is the recent Java 8 update 40... unless that has the Development Toolkit included..
I also have included a screenshot of my uninstaller that I use, as a just in case more info is needed on that, as well...
In the meantime, I will be shortly after posting this reply, going to a different browser & follow up with " https://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html ", an then to " https://www.adobe.com/products/flashplayer/distribution3.html " to reinstall the flash.. hopefully this will resolve the issues I am having.. if not, then I will be back to further post on this topic, either on success.. or failure.. like McArthur.. I shall return.. : ) -
How to get Top most Manager in Org. Structure
Hi Experts,
I have an Organization Structure like the following:
[0] MAIN ORG. UNIT
MANAGER9
[1] SUB ORG. UNIT1
Manager1
[1.1] Department1
Manager2
Manager3
Supervisor1
Supervisor2
[2] SUB ORG. UNIT2
Manager6
[2.1] Department2
Manager4
Manager5
Supervisor3
Supervisor4
1. I want to get the top most manager in the org. structure by looping the org. structure in workflow.
Here MANAGER9!!
2. How can i get Manager1 by using the same.
Waiting for your valuable Answer
Thanks
Regards
Nizamudeen SM
Edited by: Nizamudeen SM on Aug 26, 2008 4:08 PMThese are the paramters to pass ..
CALL FUNCTION 'RH_STRUC_GET'
EXPORTING
act_otype = c_o
act_objid = w_orgunitid
act_wegid = 'ORGCHART'
act_plvar = '01'
act_begda = sy-datum
act_endda = '99991231'
TABLES
result_tab = t_restab
result_objec = t_resobj
result_struc = t_reslt
EXCEPTIONS
no_plvar_found = 1
no_entry_found = 2
OTHERS = 3.
IF sy-subrc NE 0.
ENDIF.
It is not the orgunit id should be passed hear in your case it is manin orgunit ..so that it picksup the managers of child Orgunit as well. -
How to get parent process instance id in a java control?
Hi!
I have a process which invoke a java control.
In this java control I need the instance ID from the parent process.
Does anybody know where i can get the instance id?
Within a jpd I have the context variable (context.getInstanceId()), but I need something like this in the control
Thanks
Benthe only way you can do is aquire the instanceid in the JDP itself and pass it to the java control as a paramter.
Maybe you are looking for
-
Cell reference percentage problem
Hi Experts, My scenario is like this I have two structures and I have created a cell reference for all the column in Col 1 like RF1. Now in Col2 I am writing my formula which would be like this Col1 Col2 Row1 RF1 RF1 Row2 RF
-
Hello, I would like to know how I can monitor (or at least view with powerhsell) the usage of ssd cache in my storage space. I've created a storage space with 1.7TB of SAS (array controller raid 5) and 400GB of SSD storage (Array Controller RAID1) an
-
Illustrator.exe - No Disk Error
Hello, I've been getting this error with a handful of documents that I migrated from an old computer. When opening one of the offending files the following error pops up. Illustrator.exe - No Disk There is no disk in the drive. Please insert a disk
-
Hello, In the JDev 10 G, it was in the class that extends of EntityImpl in the method validateEntity as show down, but in the JDev 11 G is show message error : JBO-28200: Validation threshold limit reached. Invalid Entities still in cache How i can t
-
Hello, I use firefox browser. I have McAfee security. Until recently the McAfee symbols used to come up besides sites after a search which is a nessecity. They have gone! They still come up for the site you're on though which is of little use. They s