Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

abx:putCatalogResource(location typeURI document)

abx:putCatalogResource(location typeURI document)

Updates or adds the catalog resource at the passed location. This function returns a Boolean so you can use it in the From side of a copy operation and copy it to a variable of type Boolean. The example below puts the document or element in variable
$V1
in the catalog with the identifier
project:/myProject/resources/resource.xml
and defined as type
http://www.example.org/2009/03/
. If the type is a WSDL, you can use the WSDL namespace. If you do not specify the type, then the namespace of the element for
$V1
is automatically used.
Example:
abx:putCatalogResource( "project:/myProject/resources/resource.xml" , "http://www.example.org/2009/03/", $V1)
In a copy operation, an example of copying from this function (to a Boolean variable) is:
From:
abx:putCatalogResource( string($requestOperation.catalogOp/ns1:catalogLocation/ns1:location/text()), $requestOperation.catalogOp/ns1:content/*)
To
:
funcResponse
Parameters:
  • location
    : The string containing the catalog location url. The location is a hint
  • typeURI
    : Optional string containing the resource namespace type (element namespace used if not passed).
  • document
    : The xml content (document or element) to be put in the catalog resource.
The function returns a Boolean true or false value.

0 COMMENTS

We’d like to hear from you!