Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
165 views
in Technique[技术] by (71.8m points)

azure - Can the functionality of an Orchestrator Function depend on an activity function

I have an activity function that pulls data from an api and stores it in a database. the activity function takes a start date as input and collects the data from then until a constant number of days after and returns the last day it collected data on. The activity function cant collect data from start date until the current date as it causes a timeout. The orchestrator function has a while loop that runs the activity function repeatedly until the return date is the the current date.

Is this OK? (is this not deterministic?)

i'm currently getting weird input/output values for the activity function and wondering whether it has to do with the orchestrator depending on the output of the activity function or whether it is another issue.

question from:https://stackoverflow.com/questions/65928846/can-the-functionality-of-an-orchestrator-function-depend-on-an-activity-function

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...