admin管理员组文章数量:1315968
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 badges2 Answers
Reset to default 0You 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.
本文标签: catalystbyzohoSending Data from a Zoho Catalyst Job Function to an Basic IO FunctionStack Overflow
版权声明:本文标题:catalystbyzoho - Sending Data from a Zoho Catalyst Job Function to an Basic IO Function - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741985140a2408631.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论