LetsFlow
Search…
LetsFlow
Introduction
Getting started
Tutorials
The basics
A handshake
A proper introduction
Under one condition
Invitation by e-mail
REST API
Authentication
API endpoints
Client libraries
Reference
Workflow
Scenario
Process
Response
Trigger
HTTP trigger
NOP trigger
Event trigger
Advanced topics
Distributed workflows
Cryptography
Powered By
GitBook
NOP trigger
NOP trigger is able to manipulate data within the process. So it allows you to update asset or actors information.
YAML
JSON
1
"$schema"
:
https
:
//specs.letsflow.io/v0.2.0/action/nop/schema.json
#
2
actor
:
issuer
3
default_response
:
approve
4
trigger_response
:
5
"<if>"
:
6
condition
:
7
"<apply>"
:
8
input
:
9
available
:
10
"<ref>"
:
assets.available
11
query
:
available.shipments
>
`0`
12
then
:
approve
13
else
:
deny
14
responses
:
15
approve
:
{}
16
dany
:
{}
Copied!
1
{
2
"$schema"
:
"https://specs.letsflow.io/v0.2.0/action/nop/schema.json#"
,
3
"actor"
:
"issuer"
,
4
"default_response"
:
"approve"
,
5
"trigger_response"
:
{
6
"<if>"
:
{
7
"condition"
:
{
8
"<apply>"
:
{
9
"input"
:
{
10
"available"
:
{
11
"<ref>"
:
"assets.available"
12
}
13
},
14
"query"
:
"available.shipments > `0`"
15
}
16
},
17
"then"
:
"approve"
,
18
"else"
:
"deny"
19
}
20
},
21
"responses"
:
{
22
"approve"
:
{},
23
"dany"
:
{}
24
}
25
}
Copied!
Previous
HTTP trigger
Next
Event trigger
Last modified
2yr ago
Copy link