RUN_SCRIPT - Executing a Script

This manual is in pilot operation.

(fusion_place >= 14.1.0)

Executes the specified script.

Request Type

RUN_SCRIPT

How to Write a Request

<request type="RUN_SCRIPT" desc="Executing a Script">
  <parameters>
    <parameter name="APPLICATION" value="SAMPLE1"/> (1)
    <parameter name="PARTICIPANT" value="#NONE"/> (2)
    <parameter name="SCRIPT" value="FOO"/> (3)
    <parameter name="POV" key="#FY" value="FY2025"/> (4)
  </parameters>
  <contents> (5)
  </contents>
</request>
1 "Application" parameter
2 "Participant" parameter
3 "Script" parameter
4 "Point of View" parameter
5 Request content (empty)

Parameters

Specify the same items as when displaying data using a form in fusion_place [Browser].

Parameter Required Key Description

APPLICATION

Yes

None

Specify the label of the target application.

LEDGER_EDITION

No

None

Specify the key of the ledger edition to use. If omitted, the "Workspace Edition" is used as the source. Reserved ledger keys are:

PUBLIC: Published Edition
WORKSPACE: Workspace Edition

SCRIPT

Yes

None

Specify the label of the script to execute.

PARTICIPANT

Yes

None

Specify the label of the Participant to select when executing the script. For workgroup applications, which do not manage authorities by Participant, specify #NONE.

POV

No

Yes

Specify the member for the parameter (point of view) of the form. Set the dimension label in the key attribute and the member label in the value attribute.

You must specify POV for all dimensions that are set as parameters in the script.

Request Content

There is no request content.

Response Content

Below is an example response for "Importing Data Using Forms":

<response type="RUN_SCRIPT" desc="Executing a Script">
  <returned-contents> (1)
  </returned-contents>
  <result>
    <code>SUCCESSFUL</code> (2)
    <started-at time-zone="Asia/Tokyo">2025/05/15 15:49:58.174</started-at>
    <ended-at time-zone="Asia/Tokyo">2025/05/15 15:50:33.774</ended-at>
    <messages> (3)
    </messages>
  </result>
</response>
1 Returned Content
2 Processing Result Code
3 Message

Returned Content

There is no returned content.

Message

If the result code is SUCCESSFUL, nothing is displayed in the message field.

If the result code is FAILED, a message is displayed indicating the cause of the failure.

Other result codes are not used.