<- Go to ProcessActions  ->

1 Definition 2 Functional Requirements 3 Syntax 4 Semantics

1 Definition

The Action of a Process requesting that an Execution Service:

  1. Execute a Program.
  2. 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

  1. Process sends PA Request including Rights (Status=Model) to Execute.
    1. If Service is a free service, Goto
    2. If Execute is a pay service:
      1. Process sends PA Request with Service Pricing Model (Status=Model) to Execute.
      2. Execute sends PA Response:
        1. If PA Response includes Status=Err, goto End
        2. If PA Response includes Status=Ack and Service Pricing Model including Transaction (both Status=Model), Process
          1. Transacts Value contained in Transaction.
          2. Sends PA Request with Service Pricing Model (Status=Model) including Transaction (Status=Final) to Execute.
  2. Execute: Execute
    1. Activates the Program.
    2. Sends to Process:
      1. PA Response including Items and Rights (Status=Final).
      2. Service Pricing Model (Status=Final), if Execute is a pay Service.
  3. 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.

<- Go to ProcessActions  ->