1 Definition | 2 Functional Requirements | 3 Syntax | 4 Semantics |
1 Definition
The Action of a Process requesting an Execution Service to:
1. Execute a Program.
2. Grant Rights to the Items produced by the Executed Program based on Model Rights.
If the request is accepted, the Execute Service executes the Program and grants Rights to the Items produced by it.
2 Functional Requirements
The Execute Process Action includes:
In the request
– The ID of the Program to be Executed or the Process holding the Program to be Executed.
– The Model Rights requested to the Items produced by the Executed Program.
– The Process that should receive the Items produced by the Executed Program.
– A Transaction if requested by the Execution Service.
In the response
– The Items produced by the Executed Program.
– The Rights to the Items per the Model Rights if request is successful.
3 Syntax
https://schemas.mpai.community/MMM4/V2.1/data/Execute.json
4 Semantics
Label | Description |
Header | Execute Process Action Header |
– Standard-ExecutePA | The characters “MMM-EXP-V” |
– Version | Major version – 1 or 2 characters |
– Dot-separator | The character “.” |
– Subversion | Minor version – 1 or 2 characters |
MInstanceID | Identifier of M-Instance. |
MEnvironmentID | Identifier of M-Environment. |
ExecutePAData | Data included in the Execute Process Action. |
– Time | Time of PA request emission and Time of PA request execution. |
– RQ-Complements | Source Complements. |
– Nil ProgramID | Program to be Executed. |
– With ItemIDs | Items requested by Execute Program. |
– With ModelRights | Requested Rights to the Items produced by the Executed Program. |
– At ProcessID |
Process holding Items resulting from Execution. |
– With Transaction | Transaction made to Execute Service if requested. |
– RS-Complements | Destination Complements. |
– Nil ItemIDs | Items produced by the Executed Program. |
– With Rights | Actual Rights based on Model Rights if PA Request is accepted. |
– With PAStatus | Possible Error Messages. |
– Ack | If PA Request could be performed |
– Err | If Error was found |
– FaultyPA | Faulty PA Request. |
– IncID | Incorrect ID. |
– InsRights | Insufficient Rights. |
– InsValue | Insufficient Value in Wallet. |
DescMetadata | Descriptive Metadata. |