Initiating a process via the GP API
Hi,
I am writing code that starts a GP process via GP API. Is there way to discover the appropriate processID without using the GP Design-Time UI. For example, the code:
IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate(processId, user);
requires the processID.
Is there a way that I can find the processID via the GP API. Perhaps, by using the path to the appropriate process ("Examples/Time-Off Process/Time-off Process").
Thanks
Dick
Hi Richard,
You can find the process ID in the "Instantiation" tab of the process in the Design Time.
Otherwise, you can create your own application that retrieves the processes list and you can pick one of them.
The method "getRootCategory" will return you the root folder in the gallery. Then, the method "getActiveProcessTemplateByCategory" will return you a list of process template info objects. There you can aslo get the ID.
Hope this helps.
Best regards,
David
Similar Messages
-
Enabling Profiling for deployments via the REST API
We have an application which is being deployed via the REST API. Our logging has captured some errors related to memory consumption that we'd like to examine using profiling. All the examples of profiling in Azure that I can find discuss deployment via Visual
Studio which is not feasible in this instance.
Is there a way to enable profiling via the REST API and if so are there any examples or documentation for this? We're using Linq2Azure to access the APIs but we can extend it if necessary.
Thanks
ColinHi,
Yes, we can choose enable profiling when we publish an application via visual studio, from my experience, this feature was provided by using the Visual Studio profiler, if we didn’t use visual studio to deploy the application, it is hard to enable profiling.
Refer to
http://msdn.microsoft.com/en-us/library/windowsazure/hh369930.aspx#BK_ProfilingCloudService for more information.
Best Regards -
I have installed a new server for WSUS on Server 2k8, This is a stand alone server on Internet No client system is connected on this server as I have to copy these updates to my LAN which never connects to internet. (Previously I was using server 2k3. for
online & server 2008 on my LAN , now I have changed the server for Online)
Wsus has finished the synchronization & downloaded updates of around 67GB & its downloading more updates. The server shows me some updates are waiting to approved. but when I click the link for those updates I get following error message.
error code is as follows -
The WSUS administration console was unable to connect to the WSUS Server via the remote API.
Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.
System.Net.WebException -- The operation has timed out
Source
System.Web.Services
Stack Trace:
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at Microsoft.UpdateServices.Internal.DatabaseAccess.ApiRemotingCompressionProxy.GetWebResponse(WebRequest webRequest)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.UpdateServices.Internal.ApiRemoting.ExecuteSPSearchUpdates(String updateScopeXml, String preferredCulture, Int32 publicationState)
at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPSearchUpdates(String updateScopeXml, String preferredCulture, ExtendedPublicationState publicationState)
at Microsoft.UpdateServices.Internal.BaseApi.Update.SearchUpdates(UpdateScope searchScope, ExtendedPublicationState publicationState, UpdateServer updateServer)
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetUpdates(UpdateScope searchScope)
at Microsoft.UpdateServices.UI.AdminApiAccess.UpdateManager.GetUpdates(ExtendedUpdateScope filter)
at Microsoft.UpdateServices.UI.AdminApiAccess.BulkUpdatePropertiesCache.GetAndCacheUpdates(ExtendedUpdateScope updateScope, ComputerTargetScope computerTargetScope)
at Microsoft.UpdateServices.UI.SnapIn.Pages.UpdatesListPage.GetListRows()
I Have tried desabling the firewall,disabling the antivirus protection. Tried by changing the default rule Please Help.Hi Sagar,
First, please check if the RAM is exhausted. When there is not enough RAM, this issue may occurs.
Please try to run iisreset on the WSUS server, then try to reconnect.
Also, please try to run the server cleanup wizard to remove the unused update.
Best Regards.
Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
How do I create a Campaign Entry via the Bulk API
I am importing contacts into Eloqua via an Audience App and the Bulk API. When if I look in the Campaign Entry Report, those contacts don't appear. If I examine a contact that does appear in the report, I see that it has Campaign Entry and Campaign Membership under Recent Activity. What do I need to do to make that happen for the contacts I'm importing via the Bulk API? I've looked through the API documentation but haven't found what I need.
In the Style editor you only see the CSS files used by the website in the currently selected tab.
You won't see any references to the userContent.css file via the built-in Inspector.
Only the DOM Inspector show such CSS rules if you inspect an element that have a matching selector.
You do not need to import the userContent.css file as Firefox does this automatically each time you start Firefox and the rules that apply will automatically be added.
*DOM Inspector: https://addons.mozilla.org/firefox/addon/dom-inspector-6622/
*https://developer.mozilla.org/DOM_Inspector
*https://developer.mozilla.org/Introduction_to_DOM_Inspector -
Query for FormSubmit data by ID via the SOAP API
When I submit a form entry via the SOAP API request 'Create' it get an ID as well as the Form Type data in return:
<CreateResponse xmlns="https://secure.eloqua.com/API/1.2">
<CreateResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<CreateResult>
<EntityType>
<ID>21</ID>
<Name>aherghaewForm</Name>
<Type>Form</Type>
</EntityType>
<Errors/>
<ID>3</ID>
</CreateResult>
</CreateResult>
</CreateResponse>
However, I can't seem to query for that ID. When using the request 'Query'
<ns:Query>
<ns:eloquaType>
<ns:ID>21</ns:ID>
<ns:Type>Form</ns:Type>
</ns:eloquaType>
<ns:searchQuery>ID='3'</ns:searchQuery>
<ns:pageNumber>1</ns:pageNumber>
<ns:pageSize>20</ns:pageSize>
</ns:Query>
I receive the following Error:
The search query you provided is invalid: 'id' is invalid.
As the field 'ID' is not part of the FieldValueCollection, this outcome is not unexpected, but unfortunate, as it would greatly simplify querying for data that was just submitted. Querying for a field that is part of the FieldValueCollection delivers correct results.
Is there a way to do just that, or do i have to follow another approach to retrieve FormSubmit data?
Thanks,
FelixOK. I see column X logic now:
SQL> select id,
2 name,
3 case when instr(sys_connect_by_path(id,',') || ',',',4,') > 0 then 'X' else 'Y' end x
4 from worker
5 start with id in (
6 select id
7 from worker
8 where boss_id is null
9 start with id = 4
10 connect by prior boss_id = id
11 )
12 connect by prior id = boss_id
13 /
ID NAME X
1 Mennan Y
2 Ahmet Y
3 Akin Y
4 Ayse X
5 Aylin X
6 Selim Y
6 rows selected.
SQL>SY. -
How to access a sharepoint site via the REST API in Python?
I have the following site:
http://win-5a8pp4v402g/sharepoint_test/site_1/
When I access this from the browser, it prompts me for the username and password and then works fine. However I am trying to do the same using the REST API in Python. I am using the requests library, and this is what I have done:
import requests
from requests.auth import HTTPBasicAuth
USERNAME = "Administrator"
PASSWORD = "password"
response = requests.get("http://win-5a8pp4v402g/", auth=HTTPBasicAuth(USERNAME, PASSWORD))
print response.status_code
However I get a 401. I dont understand. What am I missing?Try adding the auhenticatig domain to the username. That may help.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Error "(-10) -" when updating a BP via the DI API
Hi,
When updating a business partner with iBolt (and add-on which uses the DI API to retrieve, add or update data) we sometimes get the following error message from the DI API:
"SAPB1 error: (-10) - "
(Yes, the explanation is a mere "-"...)
This behaviour began to happen after we made a few modifications to our iBolt flows so to avoid other errors. In particular, the user for iBolt was changed from "manager" to a user specific to the iBolt flow.
Moreover, shortly before the messages appeared, a network card from the machine running iBolt had been disconnected. The error messages continued after the card was connected again.
Do you know what this (-10) error is about?
Best regards,
Emmanuel RuellanHello Emmanuel,
The best way to get help on this would be to contact iBolt directly and explain the details. They have a good support team and should be able to help you on this quickly.
Best wishes
Suda -
Retrieve experience def properties via the Remote API?
Is this possible?
The money line if it were possible is here:
IObjectManager objManager = remoteSession.GetObjectManager(ObjectClass.IWishExpereinceDefinitionWereHere);
So anyone ever retrieved experience definition (obj class = 8) object properties using the remote api?Hello,
Use the Object Browser in .NET and search on "Summaryinfo" and you'll find the API to use.
Thank you
Don -
Finding tasks via the Java API
I am using Oracle BPEL Process Manager 10.1.2 (Beta3) with a java client. I am simply trying to list tasks assigned to an individual using the following code:
package com.gw.apps.bpel;
import com.oracle.bpel.client.Locator;
import com.oracle.bpel.client.NormalizedMessage;
import com.oracle.bpel.client.dispatch.IDeliveryService;
import com.oracle.services.bpel.task.DefaultTasklet;
import com.oracle.services.bpel.task.ITask;
import com.oracle.services.bpel.task.IWorklistService;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
public class ShowTasks
public ShowTasks()
public void showTasks()
try {
java.util.Hashtable props = new Hashtable();
props.put("orabpel.platform","oc4j_10g");
props.put("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
props.put("java.naming.provider.url","ormi://localhost/orabpel");
props.put("java.naming.security.principal","admin");
props.put("java.naming.security.credentials","welcome");
props.put("dedicated.rmicontext", "true");
Locator loc = new Locator("default","bpel","127.0.0.1",props);
IWorklistService taskService = (IWorklistService)loc.lookupService(IWorklistService.SERVICE_NAME);
System.out.println("Finding Tasks....");
ITask[] tasks = taskService.listTasksByAssignee("[email protected]");
catch (Exception e)
System.out.println(e.getMessage());
* @param args
public static void main(String[] args)
ShowTasks showTasks = new ShowTasks();
showTasks.showTasks();
When I run the code I am getting the error:
Error deserializing return-value: java.io.InvalidClassException: org.collaxa.thirdparty.dom4j.tree.AbstractNode; local class incompatible: stream classdesc serialVersionUID = 2188750142857195041, local class serialVersionUID = -2607565468107109475
I believe that I have all the correct libraries set up in JDeveloper. Can anybody please point me in the right direction?Yes - here are the import statements.
package com.gw.apps.bpel;
import com.oracle.bpel.client.Locator;
import com.oracle.bpel.client.NormalizedMessage;
//import com.oracle.bpel.client.dispatch.IDeliveryService;
import com.oracle.bpel.client.delivery.IDeliveryService;
import com.oracle.bpel.client.util.WhereCondition;
import com.oracle.services.bpel.task.DefaultTasklet;
import com.oracle.services.bpel.task.ITask;
import com.oracle.services.bpel.task.IWorklistService;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
Just to expand, I am developing using JDeveloper10g version 9.0.5.2 and running the code from here. -
Create Attribute Dimension via the JAVA api
<p>Does anyone know how to create an attribute dimenions via theJava API ?</p><p> </p><p>I can set the dimension type to attribute via<b>setAttributeDimensionDataType</b> but I don't know how toassociate the attr. dimension with a sparse, normal dimension(which is mandatory).</p><p> </p><p> </p>
Hi Marco,<BR><BR>It is in the IEssCubeOutline interface. Here is sample code from the CreateOutline.java sample code that ships with EDS:<BR><BR> IEssCubeOutline otl = ... <BR><BR> IEssDimension product = otl.findDimension("Product");<BR> otl.associateAttributeDimension(product, caffeinated);<BR><BR>Tim<BR>
-
I cannot close firefox without closing the process via the windows task manager.
The X in the top right corner, the 'Exit' command under 'File', nor right-click+close on the taskbar will close Firefox. I have to press ctrl+alt+del, and close the process manually.
https://support.mozilla.com/en-US/kb/Firefox%20hangs <br />See '''hang-at-exit'''
-
Balancing Braces via the DW API
I'm attempting to create my first extension, but I'm running
into a bit of trouble. I would like to balance braces from the
current selection and then collapse the selected code. Everything's
working except for the balance braces part.
When I try to run the dom.source.balanceBracesTextview()
function per the API documentation, I get the following error:
"dom.source.balanceBracesTextview() is not a function."
I've attached the function that attempts to do this
functionality.
Any help would be most appreciated.
Cheers,
SteveHi Steve,
> When I try to run the dom.source.balanceBracesTextview()
function per the API
> documentation, I get the following error:
>
> "dom.source.balanceBracesTextview() is not a function."
There seems to be a typo in the documentation. Try
balanceBracesTextView() (with a capital V). If you search the
DW
Configuration folder, you'll find a few examples.
Also, this exchange is more for DW Server Model and Database
stuff.
You'll probably get a better response for extensibility
questions in the
macromedia.exchange.extensions.dreamweaver forum.
Randy -
Terminate job applications via the APIs in Oracle HR
Hello, we're trying to terminate a few thousand job applications which have been hanging
in the database for many years.
Looking for a programmatic solution we looked at
hr_application_api.update_apl_details
but it seems it cannot close the application, only update the "details", as the
name suggests. We also tried
hr_person_type_usage.update_person_type_usage
to change the person type to ex applicant, but, while the person type is
correctly changed, the applications remains open, creating some inconsistency
in the data.
Is there any solution to properly terminate these applications via the public APIs?
Thanksdid you tried already the p_termination_reason parameter in the application api?
-
Get audiobook link by passing ISBN using the Search API lookup request
Hi,
is there any possibility to get the link to an audiobook in the iTunes Store automatically by passing the ISBN?
The solution provided in the Search API only seems to work for EBooks!?
http://itunes.apple.com/lookup?isbn=9780316069359
A request like this, via the Search API doesn't seem to work: (the audiobook exists in the store but is somehow not found)
http://itunes.apple.com/lookup?isbn=9783844505511&country=DE
ThanksHazarding a guess at the JNDI settings pointing to the machine hosting LiveCycle, the LiveCycle credentials or the EJB port.
Steve -
Zombie Process in the Database.
Dear All,
Zombie Process in the Database.
Please help in the above thread.
Thanks in Advance.884476 wrote:
We are using 10g database with a JAVA based application. Our DBA team is complaining that there are lot of Zombie processes getting created in DB, which is consuming large CPU.Whether a zombie process consumes CPU is debatable - and depends on the definition of a zombie process.
[oracle@csfproddb ~]$top
top - 07:36:00 up 117 days, 3:25, 0 users, load average: 0.19, 0.18, 0.10
Tasks: 222 total, 3 running, 204 sleeping, 0 stopped, 15 zombie
Cpu(s): 12.0%us, 1.0%sy, 0.0%ni, 82.0%id, 4.9%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 8176308k total, 8129636k used, 46672k free, 136236k buffers
Swap: 10241428k total, 99300k used, 10142128k free, 7044488k cached
oracle 2341 4284 0 Jan31 ? 00:00:00 [zip] <defunct>
oracle 2342 4284 0 Jan31 ? 00:00:00 [zip] <defunct>Defunct processes are child processes that terminated. The process image in the kernel for that process is no more. It no longer exists. It cannot consume CPU.
The reason for still seeing that process via the process listing table in the kernel, is a parent process issue.
When the child process terminates, the kernel sends a signal to the parent process to inform the parent of that. A defunct child process means that the parent process has not (yet) acknowledge that signal. And until it does, the child process entry will remain in the process table.
Maybe you are looking for
-
Unable to run ADF Project Using with Jdev 10 and Weblogic server 9.2
Dear All, I am unable to run ADF Project on Weblogic Server 9.2. I am created Sample Project with ADF Control. This was when we create jsp at that time i am selected libraries ADF. After created war file. This war i am deploying into Server. At that
-
How do I take my iPod out of "Recovery Mode" without restoring to factory settings?
(iPod 4th Gen, Windows 7) I hadn't synced my iPod touch for a long time, because just before Christmas, my antivirus stopped working on my laptop, and I got a virus. I was unable to do anything. Because of my circumstances, I wasn't able to get my co
-
Incredibly annoying intermittent airport issue
hi i have a mac pro with the latest version of os x. i frequently lose airport connectivity out of nowhere with this in the console 2/4/09 11:03:56 PM kernel Auth result for: 00:11:24:5d:bf:c1 MAC AUTH succeeded 2/4/09 11:03:56 PM kernel AirPort: Lin
-
$0, $1..$9 back-reference in CF7.
I have just discovered the $ back-reference in Coldfusion which seems to be an undocumented feature. I'm not sure of CF7 is using its own regex engine or using Java's, but the $ back-reference seems to work differently than java's. What I have discov
-
Exporting mov to avi; crashes when Sound Settings is clicked
We've reproduced this crash on two Windows 7 PCs (a 32-bit & a 64-bit PC). It happens every time when we want to convert any .mov to .avi. After clicking Options, to set conversion settings (video settings can be adjusted w/o problems, and Sound Sett