txnreply

package
v0.2.1-develop.107 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

README


title: Txnreply weight: 4603

Txnreply

This activity sends response to transaction initiator, reponse can be SUCCESS, SUCCESS WITH DATA or Erroor with Message.

Schema

Inputs and Outputs:

{
  "inputs": [
        {
            "name": "status",
            "type": "string",
            "required": true,
            "allowed": ["Success", "Success with Data", "Error with Message"]
        },
        {
            "name": "message",
            "type": "string",
            "required": false
        },
        {
            "name": "model",
            "type": "string",
            "required": false
        },
        {
            "name": "dataType",
            "type": "string",
            "required":false
        },
        {
            "name": "isArray",
            "type": "boolean"
        }
        {
         "name": "input",
         "type": "complex_object"
     },
     {
         "name": "userInput",
         "type": "complex_object"
     }
    ],
  
    "outputs": []
}

Settings

Setting Required Description
model False Select the common data model, must be the same as the one selected in Trigger
dataType True Asset types defined in common data model if a model is selected. "User Defined..." data type allows user defined json schema
isArray True True if input is an array
status True This is the handler to underlying blockchain service, should always be mapped to $flow.containerServiceStub
message False Error message to return

Input Schema

The json schema is automatically created based on settings

Ouput Schema

The json schema is automatically created based on settings

Documentation

Overview

* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActivity

func NewActivity(metadata *activity.Metadata) activity.Activity

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL