| 1 Definition | 2 Functional Requirements | 3 Syntax | 4 Semantics |
1 Definition
The Action of a Process requesting that an Execution Service:
- Execute a Program.
- Grant Rights to the Items produced by the Executed Program based on requested Rights.
If the request is accepted, the Execute Service executes the Program and sends the produced Items with embedded Rights (Status=Final).
2 Protocol
- Process sends PA Request including Rights (Status=Model) to Execute.
- If Service is a free service, Goto
- If Execute is a pay service:
- Process sends PA Request with Service Pricing Model (Status=Model) to Execute.
- Execute sends PA Response:
- If PA Response includes Status=Err, goto End
- If PA Response includes Status=Ack and Service Pricing Model including Transaction (both Status=Model), Process
- Transacts Value contained in Transaction.
- Sends PA Request with Service Pricing Model (Status=Model) including Transaction (Status=Final) to Execute.
- Execute: Execute
- Activates the Program.
- Sends to Process:
- PA Response including Items and Rights (Status=Final).
- Service Pricing Model (Status=Final), if Execute is a pay Service.
- End
3 Syntax
https://schemas.mpai.community/MMM4/V2.2/actions/ExecutePA.json
4 Semantics
| Label | Description |
| Header | Execute Process Action Header – Standard “MMM-EXP-Vx.y” |
| 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 Rights | Requested Rights (Status=Model) to the Items produced by the Executed Program. |
| – At ProcessID |
Process holding Items resulting from Execution. |
| – With SPM | Service Pricing Model, if Execute is a pay service. |
| – RS-Complements | Destination Complements. |
| – Nil ItemIDs | Items produced by the Executed Program. |
| – With Rights | Rights (Status=Final) based on requested 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. |
| Trace | Authentication provenance information and time of PA production. |
| DescMetadata | Descriptive Metadata. |