본문으로 건너뛰기

FunctionCondition

Cron-triggered Python condition. On each scheduled occurrence, the condition runs code with params and proceeds to the reaction actions only when the code returns true.

kindKind (string)필수
상수 값: function
languageLanguage (string)필수
상수 값: python
codeCode (string)필수

Python function body executed by this action.

scheduleSchedule (string)필수

Cron expression for evaluation cadence

params object

Bound parameters passed to the function

property name*any

Bound parameters passed to the function

FunctionCondition
{
"kind": "function",
"language": "python",
"code": "string",
"schedule": "string",
"params": {}
}