You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
Serialized event (JSON + Base64) should be available as an environment variable.
Example:
name: eventkind: workflowbreed:
reference: eventschedule:
event:
tags:
- run:eventenvironment_variables:
VAMP_WORKFLOW_DATA: ${data} # using custom env to get the event (data)VAMP_WORKFLOW_EXECUTION_PERIOD: '0'VAMP_WORKFLOW_EXECUTION_TIMEOUT: '5'
name: eventkind: breeddeployable:
type: application/javascriptdefinition: |- let vamp = require('vamp-node-client'); let data = ''; let api = new vamp.Api(); if (process.env.VAMP_WORKFLOW_DATA) { let event = Buffer.from(process.env.VAMP_WORKFLOW_DATA, 'base64').toString('utf8'); data = event ? JSON.parse(event).tags : data; } api.event(['event:response'], data);
The text was updated successfully, but these errors were encountered:
Serialized event (JSON + Base64) should be available as an environment variable.
Example:
The text was updated successfully, but these errors were encountered: