Getting completed process details using BPM API
Hi Experts,
is there any way to get the completed process details using BPM API or Analytics API for a specific process definition (in 7.31 SP10)?
my observations:
1. using getRunningProcessInstances(process_def_id) of ProcessInstanceManager, I can fetch running process instances.
but I need completed process instances.
Thanks in advance.
Best Regards
-Trim
seems no way
Similar Messages
-
How to access Task details using BPM API for substituting user
Hi Expert,
I need one help, we have a requirement, in which I wanted to access the BPM task details of a user which is substituting user using BPM API.
Substituting user's name is not exist in Potential owner of Task. That’s why Using method "getMyTaskAbstracts(Status)" we cant acess those task which assigned by Substited user.
Kindly let me know if there is any way, we can get task details of the task which assigned by substituted user to substituting user.
Regards
DivPl use this api.
getTaskAbstractsForMySubstitutedUsers.There are couple of variations u can use.
Thanks
Manish -
Getting weblogic usersegment details using an API
Hi,
Can weblogic usersegment (*.seg) information be got using some API?
if not, how can the information be got, so that we can for example, pass the usersegment name to the weblogic businessrule as a condition and got some contentquery as an action??Please find below the sample code to get information about user segment.
@Control
private SegmentManagerControl segmentManagerControl;
@Jpf.Action(forwards = { @Jpf.Forward(name = "default", path = "index.jsp") })
public Forward begin() throws PersistenceException, XmlException, LoginException {
Authentication.login("weblogic", "weblogic", getRequest());
ResourceContext resCtx = ResourceContext.createResourceContext(getRequest(), getResponse(),getServletContext(), false);
resCtx.setRetrieveResultsIfNoLocale(true);
resCtx.setWebApp(getServletContext().getServletContextName());
RuleModel ruleModel = segmentManagerControl.getSegment("/segments/GlobalClassifications/testUserSegment.seg", resCtx);
System.out.println("Name"+ruleModel.getName());
System.out.println("Description"+ruleModel.getDescription());
Authentication.logout(getRequest());
return new Forward("default");
Note: You can use this API only from the controller. You need to create SegmentManagerControl in controller and from there you can access the user segment details. you need to be in the Administrative group to access SegmentManagerCotnrol (and all other controls related to campaigns, placeholders etc.).
segmentManager.getSegment() always returns null, if you're not in the Administrators group. -
Need help in getting MDM relationship details using Java Apis
Hi,
Is it possible to search records which are in relationship using Java Apis? Suppose Record A is Parent record and Record B,C,D ... are child records.
I have to search all the records which are in relationship with record A.
Can any one send code snippet on this.
Regards,
NirajHi Niraj,
You can use RetrieveRelationshipsCommand api to get the relationship child of the Anchor Record.
RetrieveRelationshipsCommand command = new RetrieveRelationshipsCommand(connectionAccesor);
command.setSession(session);
command.setAnchorRecord(anchorRecord); / command.setAnchorRecordId(anchorRecordId); (use any of the two statements)
command.setRelationship(relationshipId); //For child int type is 10, and for Parent_child int type is 5
command.setMemberResultDefinition(resultDefinition);
command.execute();
//Get Member Records' resuld definition
ResuldDefinition rd = command.getMemberResultDefinition();
Hope this helps you. -
What role is required to 'nominate' a user using BPM API's?
I see an exception while nominating a user using SAP API's. Log as below:
Caused by: com.sap.bpem.tm.exception.InvalidAuthorizationException: User Test1 is not allowed to perform action NOMINATE on task 3v67h898881811e4bae5000000ddc0f1
Nominate works fine if the user is assigned "Administrator" role. Is there an alternative role which can be assigned as we cannot give end user admin access.
Thanks in advance
Regards
VidyaThere is a standard user 'SAP_BPM_Service'. You can assign the 'SAP_BPM_SuperAdmin' role to perform all possible actions related to BPM.
what you are trying to do is nominate a user for a particular task For this, you will have to assign roles to the person who is currently logged-in. So standard user does not come into picture.
Refer this link for details of Task Delegation.
Refer this link for all possible roles and authorizations related to BPM processes and tasks.
API or no API, assign 'SAP_BPM_SuperAdmin' to the user. -
How to get all GroupSpaces name using Spaces API, irrespective of user logged in?
Hi
Can anyone please tell me, how to retrieve list of all group spaces using Spaces API. I have used this method getGroupSpaces(null) to retrieve all group spaces, however it returns only the logged in members groups.
Is there any way to get all groupspaces details?
Regards
Raji don't think so other than admin user can get all group spaces informaiton, is it possible in webcenter portal:spaces default deployment?
-
Fetching process details using process instance id
Hi,
I have process instance ids captured in a CE table and I am looking to include a feature in existing UI5 application to use the process instance id and fetch it' s corresponding process details like history, context data etc., back to UI.
Any helpfull doc/ ideas on how to implement this will be appreciated.
Thanks,
Vipin.Hi Jun,
I didn' t get a chance to try on process histroy however with the responses seen here looks like it is not possible.
Currently I am able to get the task details like the claimed user, list of potential users yet to claim the task etc., which is still usefull in my case. -
Can I get the GP status using GP API.
Hi all,
Can I use the GP API to get one process status present,for example,"reject" or "approve" according to the process instance ID?
If there's a way,how can i archive this?
Best regards,
delmaHi,
Using GP API it is possible to achieve the process status of any particular process.
In the package com.sap.caf.eu.gp.process.api, we have several classes that can give the process such as IGP Process and the status can be achieved by the method getStatus.
For more information refer to this link:
http://help.sap.com/javadocs/nwce/current/gp/index.html
Award points if helpful.
Regards,
Sujana -
How to get user profile details using first name and last name of the user?
Is it possible to get profile details using firstname and lastname of the user with SharePoint UserProfile service?
any thoughts?
SP 2010 is history SP 2013 is mystery :)You could try the search method of UserProfileManager.
https://msdn.microsoft.com/en-us/library/microsoft.office.server.userprofiles.userprofilemanager.search.aspx
SPServiceContext serviceContext = SPServiceContext.GetContext(SPContext.Current.Site);
UserProfileManager upm = new UserProfileManager(serviceContext);
string[] searchPattern = { "Firstname", "Lastname"};
ProfileBase[] searchResults = upm.Search(searchPattern);
foreach (ProfileBase profile in searchResults)
//Do something
//Console.WriteLine(profile.DisplayName); -
OIM11gr2 - How to get currently logged in user details using oim api
Hi All,
I have a requirement to retrieve currently logged in users profile in the process adapter.
I have tried with getSelfProfile in tcUserOperation and also ContextManager.getOIMUser API's however, in both the cases i am getting xelsysadm details only.
Also as know request details in Process task mapping doesnot work for OIM11g onwards (its returning column not found exception )
DOes any one has idea how to achieve this.
PS. - i am using platform to retrieve API's.
Thanks & Regards
Swati PandeyYou can get the logged in user name using the below java code:
ADFContext adfCtx = ADFContext.getCurrent();
SecurityContext secCntx = adfCtx.getSecurityContext();
String user = secCntx.getUserPrincipal().getName();
HTH -
Get current Action in a GP process in using GP API
I want to get the current Action or all list of action in a GP process in a web dynpro callable object.
Can anyone help me.Hi !
there is a method on the super class of your pageflow named getCurrentActionName(). This method may only be called during an action invocation. Best way to remember this is probably implementing the before action storing the current action name somewhere, as in the sample code below.
protected synchronized void beforeAction() throws Exception
this.currentAction = super.getCurrentActionName();
this action name is probably stored some other places to by the workshop framework, however I am not able to find it somewhere else than in the currentActionName() method.
- Anders Mathisen -
Runtime Process Initiation using GP API
Hi,
I am trying to implement sample application like time-off process.
i create websynpro callable objects, create request, display request, approve request, complete request.
my problem, how can i assign users to a role processor dynamically?
where should i write the code?
Regards
NagaHi Naga,
this might give you a good starting point:
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/43/fcdf77fc6510b3e10000000a11466f/frameset.htm">Starting and Terminating Processes Using the GP API</a>
Have a look at step 7 of the procedure, where dynamic assignment of users is explained.
Regards,
Petja -
How to get regional options information using java api
Hi all
I want to read what is properties like what is the currency symbol , what is the precession , what is the digit seperator and No of digits after the decimal .. such information i want to get using the java API
How can i get this information.
i tried with Locale API.
But it always giving me the default information only.
If i go and change those things in teh regional options it is not effecting
Any suggestions.
Thankin youhttp://java.sun.com/j2se/1.4.2/docs/api/java/text/DecimalFormatSymbols.html
-
How to get Payment Advice details using REGUH REGUP tables
Hi,
How to fetch payment Advice details in REGUH REGUP tables by passing Header details of Payment document (BEKNR, BUKRS and GJAHR) ?
My observation:
E.g. for Payment document 1500000135 i am getting following records from REGUH table
MANDT LAUFD LAUFI ZBUKR LIFNR VBLNR
300 15.04.2010 00009O 1000 AB6666 1500000135
300 16.04.2010 00002O 1000 AB6666 1500000135
300 17.04.2010 00001O 1000 AB6666 1500000135
While debugging driver program for Check print i have observed that REGUH contain entry as
300 17.04.2010 00001* 1000 AB6666 1500000135
For other document also i have found that its picking up last entry from REGUH (i have relate 00001O with 00001*) and accordingly its displaying records on Check
Correct if my observation is wrong
Whats the meaning of LAUFI 'Additional Identification' ?
While displaying Check is the program always picks last/latest payment run entry from REGUH?
thanks,
Edited by: Amol Deshpande on Apr 19, 2010 9:41 AMHi Suhas,
But if we are making payments through F-58 and FBZ5 transaction then these both tables REGUH REGUP also get updated. in such case how does system determines --> Payment Run id
Payment Run id (REGUH-LAUFI) is crucial for me to fetch Payment details from REGUP table
also tell me when does system generates multiple lines for single payment document in REGUH ?
Please share your views -
Getting Defunct processes while using Oracle iPlanet Web Server 7.0.9 in Solaris 10
Hi,
I have installed Oracle iPlanet Web Server 7.0.9 in our Solaris 10. \
Successfully Configured iPlanet web server using the manual and the application scripts are working fine with this iPlanet webserver.
Even if the application is working fine, the iPlanet webserver stop responding at a period of time and needs to be restart manually...
Found that lots of defunct processes(PPID of webservd) are created and these defuncts (zombies) leads to stop the services.
I am not good in iPlanet webserver configuration settings on the Solaris 10 OS.
Could anyone help me to fix this issue ?
Thanks,
Antony.Here is the truss output (last few lines before the application hungs...
/14: 2516.1065 0.0000 time() = 1428330724
/49: 2516.1382 0.0001 pollsys(0xFFFFFFFF71E3FB40, 1, 0xFFFFFFFF71E3FA80, 0x00000000) = 0
/49: 2516.1386 0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
/49: 2516.1389 0.0000 lwp_kill(66, SIG#0) Err#3 ESRCH
/49: 2516.1412 0.0022 munmap(0xFFFFFFFF70D00000, 262144) = 0
/49: 2516.1413 0.0000 lwp_exit()
/39: 2516.1553 0.0000 pollsys(0xFFFFFFFF7283FB40, 1, 0xFFFFFFFF7283FA80, 0x00000000) = 0
/39: 2516.1557 0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
/39: 2516.1559 0.0000 lwp_kill(75, SIG#0) Err#3 ESRCH
/39: 2516.1561 0.0001 munmap(0xFFFFFFFF70400000, 262144) = 0
/39: 2516.1562 0.0000 lwp_exit()
/25: 2516.1614 0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0) Err#62 ETIME
/16: 2516.1671 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/35: 2516.2558 0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0) Err#62 ETIME
/16: 2516.2673 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2516.3675 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/36: 2516.4317 0.0000 lwp_park(0xFFFFFFFF72CFBE60, 0) Err#62 ETIME
/15: 2516.4505 0.0000 lwp_park(0xFFFFFFFF7613F9D0, 0) Err#62 ETIME
/16: 2516.4677 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2516.5679 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/27: 2516.6533 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7383FD20, 0x00000000) = 0
/16: 2516.6681 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/1: 2516.7105 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7FFFA6A0, 0x00000000) = 0
/16: 2516.7684 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/34: 2516.8137 0.0000 lwp_park(0xFFFFFFFF730FBA70, 0) Err#62 ETIME
/16: 2516.8685 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2516.9686 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2517.0688 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/14: 2517.1057 0.0001 pollsys(0x00000000, 0, 0xFFFFFFFF744FBDA0, 0x00000000) = 0
/14: 2517.1061 0.0000 time() = 1428330725
/25: 2517.1618 0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0) Err#62 ETIME
/16: 2517.1691 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/35: 2517.2561 0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0) Err#62 ETIME
/16: 2517.2693 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2517.3695 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/36: lwp_park(0xFFFFFFFF72CFBE60, 0) (sleeping...)
/15: lwp_park(0xFFFFFFFF7613F9D0, 0) (sleeping...)
/16: 2517.4696 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/54: 2517.5362 0.0000 pollsys(0xFFFFFFFF7193FB40, 1, 0xFFFFFFFF7193FA80, 0x00000000) = 0
/54: 2517.5364 0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
/54: 2517.5367 0.0000 lwp_kill(53, SIG#0) Err#3 ESRCH
/54: 2517.5368 0.0001 munmap(0xFFFFFFFF71A00000, 262144) = 0
/54: 2517.5369 0.0000 lwp_exit()
/16: 2517.5697 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/27: pollsys(0x00000000, 0, 0xFFFFFFFF7383FD20, 0x00000000) (sleeping...)
/16: 2517.6699 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/1: 2517.7106 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7FFFA6A0, 0x00000000) = 0
/1: 2517.7111 0.0001 close(26) = 0
/1: 2517.7113 0.0000 write(24, " 8", 1) = 1
/1: 2517.7115 0.0000 close(23) = 0
/1: 2517.7116 0.0000 close(24) = 0
/1: 2517.7118 0.0000 lwp_unpark(25) = 0
/25: 2517.7118 0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0) = 0
/1: 2517.7120 0.0000 lwp_unpark(35) = 0
/35: 2517.7120 0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0) = 0
/25: 2517.7121 0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
/25: 2517.7122 0.0000 lwp_kill(61, SIG#0) Err#3 ESRCH
/35: 2517.7123 0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
/25: 2517.7124 0.0001 munmap(0xFFFFFFFF71200000, 262144) = 0
/25: 2517.7125 0.0000 lwp_exit()
/1: 2517.7126 0.0000 lwp_wait(25, 0xFFFFFFFF7FFFA47C) = 0
/35: 2517.7127 0.0000 lwp_kill(52, SIG#0) Err#3 ESRCH
/35: 2517.7128 0.0001 munmap(0xFFFFFFFF71B00000, 262144) = 0
/35: 2517.7129 0.0000 lwp_unpark(1) = 0
/1: 2517.7129 0.0000 lwp_park(0x00000000, 0) = 0
/35: 2517.7130 0.0000 lwp_exit()
/1: 2517.7132 0.0000 lwp_wait(35, 0xFFFFFFFF7FFFA47C) = 0
/1: 2517.7134 0.0000 close(13) = 0
/16: 2517.7700 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/34: 2517.8141 0.0000 lwp_park(0xFFFFFFFF730FBA70, 0) Err#62 ETIME
/16: 2517.8702 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/16: 2517.9704 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/22: 2517.9743 0.0001 pollsys(0xFFFFFFFF73F3FA98, 1, 0xFFFFFFFF73F3F9D0, 0x00000000) = 0
/16: 2518.0706 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
/14: 2518.1063 0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF744FBDA0, 0x00000000) = 0
/14: 2518.1073 0.0000 time() = 1428330726
/1: 2518.1082 0.0000 lseek(1, 0, SEEK_CUR) = 0
/1: 2518.1083 0.0000 lseek(2, 0, SEEK_CUR) = 4128
/1: 2518.1085 0.0000 lseek(2, 0, SEEK_CUR) = 4128
/1: 2518.1093 0.0000 lseek(1, 0, SEEK_CUR) = 0
/1: 2518.1094 0.0000 lseek(2, 0, SEEK_CUR) = 4128
/1: 2518.1095 0.0000 lseek(2, 0, SEEK_CUR) = 4128
/1: 2518.1102 0.0000 _exit(0)
Maybe you are looking for
-
Hi everyone, I'm running After Effects CS6 (11.0.4.2) on a MacBook Pro 2.8Ghz with 16GB RAM (Mac OS 10.9.4) As a test, I created a 3 and a half minute Sequence in Adobe Premiere CS6, and then imported this into After Effects CS6, and placed it on the
-
10g DBA OCP apparently available under WDP
I had not realised DBA 10g was available under WDP (workforce) however this post {thread:id=1029756} indicated that it is. This post seems to confirm it: [https://workforce.oracle.com/wdp_curr.html] (I can only access this page via google, not from t
-
i tells me my phone is in recovery mode. if i restore it ill lose all my pictures, my music, everything. is there something elese oi can do?
-
I need to do a backup and restore however I have connected to a generic itunes account. can I back up to the cloud and restore from cloud?
-
How to migrate the portal from server A to Server B
Dear Expert, I have existing R3 name A and portal connecting. I have setup a new R3 name B on different server. Could you please provide me the steps on how can I migrate the portal connection from Server A to Server B. What are the steps involve .e.