[SalesForce] Outbound Messaging: ActionId

I'm investigating the use of Outbound messaging for some integrations we need to make with SalesForce.

According to the documentation, the outbound message includes an ActionId field which is a salesforce id. Does anyone know which custom object the ActionId is the primary key for and whether it is queryable using SOPI?

Background

I'd like to create a generic endpoint for all our outbound messages so we can use publish/subscribe to route the various notifications to interested applications. It would be useful if applications could subscribe to notifications based on the developer name of the action so I'd like to translate the ActionId into this value.

Best Answer

according to the documentation its id of the workflow rule::

ActionId string The workflow rule (action) that triggers the message.

you can not query Workflow's using SOQL, but you can run a listMetadata call against the MetaData API that will return a list of workflow rules and record ids

http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_listmetadata.htm

Related Topic