Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Perfion Execute Action query add the requested Action in a queue at the Applications server (Execute Action are introduced in Perfion 2022 R1). The Application server will execute the Acton Action in chronologic chronological order from the queue.

The ActionID is the ID of the action to be executed

The ActionInput element is optional and the child elements in ActionInput must be serializable XML/JSON. The elements will be converted to Data Tables which can be used in the Action.

The query can be defined in either XML or JSON format.

XML:

Code Block
<?xml version="1.0" encoding="utf-8"?>
<ExecuteAction ActionID="1234" >
    <ActionInput>
   <ActionTable1>
                  <Col1>123</Col1>
                  <Col2>456</Col2>
   </ActionTable1>
   <ActionTable1>
                  <Col1>123</Col1>
                  <Col3>456</Col3>
   </ActionTable1>
   <ActionTable2>
                  <Col1>123</Col1>
                  <Col2>456</Col2>
   </ActionTable2>
   </ActionInput>
</ExecuteAction>

XML query response:

Code Block
<?xml version="1.0" encoding="utf-8"?>
<Response>
    <Result>
           <ExecutionQueueId>12</ExecutionQueueId>
    </Result>
</Response>

JSON:

Code Block
{
"ExecuteAction": {
"ActionID": "123",
"ActionInput": {
"ActionTable1": {
"Col1": "123",
"Col2": "456" },
"ActionTable1": {
"Col1": "123",
"Col3": "456" },
"ActionTable2": {
"Col1": "123",
"Col2": "456" }
      }
   }
}

JSON query response:

Code Block
{
"ExecutionQueueId": 19
}
Table of Contents