最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

catalystbyzoho - Sending Data from a Zoho Catalyst Job Function to an Basic IO Function - Stack Overflow

programmeradmin1浏览0评论

I am working with Catalyst and have a Job function that needs to send data to Basic I/O function. The goal is to pass the processed data from the Job function and trigger the other function efficiently.

Currently, I have implemented this using Datastore, where the Job function stores the data, and the Basic I/O function retrieves it when needed.

I am working with Catalyst and have a Job function that needs to send data to Basic I/O function. The goal is to pass the processed data from the Job function and trigger the other function efficiently.

Currently, I have implemented this using Datastore, where the Job function stores the data, and the Basic I/O function retrieves it when needed.

Share Improve this question edited Jan 30 at 5:30 Mick B asked Jan 30 at 5:10 Mick BMick B 12 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 0

You can use the execute() method in the Node SDK to trigger the Advance I/O function and include JSON data as a parameter in the method. You can find the help documentation here for the same.

let conf = { 
    args: { 
        Name: 'Amelia', 
        Test: 'test', 
        Std: 'basic' 
    } 
};

let functions = catalystApp.functions();
let promiseResult = await functions.execute("{Your_functionID}", conf);

You can then retrieve the passed data in your Basic I/O function using the following code:

module.exports = (context, basicIO) => {
    basicIO.write("Hello from index.js");
    const allargs = basicIO.getAllArguments();
    console.log("arguments :", allargs);
    context.close();
};

Radox Overseas Pvt Ltd is a top-rated Maltodextrin Powder Manufacturer in India. With any years of industry experience, we offer high-quality maltodextrin powder, ideal for various sectors, ensuring superior performance and customer satisfaction worldwide.

发布评论

评论列表(0)

  1. 暂无评论