Creating an Invoke DA Service Step

This step performs a remote Deployment Automation service request and stores the result.

Required properties:

Property Name Description
URL Enter the current Deployment Automation REST service URL. Relative and full URLs are allowed.

Optional properties:

Property Name Description
Request method The action to be performed. Options include:
  • GET (default)
  • POST
  • PUT
  • DELETE
Request Body The body of the request to be performed
Destination The location where the execution result will be saved. Options include:
  • Step properties (default)
  • File
  • None
Response file Path to the file where the response will be saved
User Name User name of the remote user
Password Password of the remote user
Status expression

Enter an expression in the response to process for the step result. Specify this in one of the following formats:

<result property>=<success value>

As a Groovy script, starting with the comment //GROOVY

HTTP Headers This field contains HTTP headers that will be added to the request. Specify each on a new line, with the header name separated from value with '='.

For example:

token=Zy65QnbGf

Content file

Enter the path to the file containing the request body. The contents will be used as the request body instead of the Request Body field content.

Content type The MIME type of the request content
Attachments

Attachment properties should be specified as line-separated strings in the following format:

<property name>[<index>]=<property value>

Allowed properties are:

  • type (text or binary)
  • name (attachment name)
  • file (path to a file with attachment content)
  • contentType (MIME type of the attachment content) [OPTIONAL]
  • fileName (binary attachment file name) [OPTIONAL]

Add indexes if there is more than one attachment. For example:

type[0]=text
name[0]=My Text File
file[0]=c:\Temp\MyFile.txt
type[1]= binary
name[1]=My Exec File
file[1]=c:\Temp\MyFile3.exe
fileName[1]=NewFileName.exe
Debug logs Add debug information to logs.