Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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 in chronologic 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:

<?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:

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

JSON:

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

JSON query response:

{
"ExecutionQueueId": 19
}
  • No labels