-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add workflow quickstart for JS #989
Add workflow quickstart for JS #989
Conversation
Signed-off-by: MregXN <mregxn@gmail.com>
Signed-off-by: MregXN <mregxn@gmail.com>
Signed-off-by: MregXN <mregxn@gmail.com>
Signed-off-by: MregXN <mregxn@gmail.com>
…tivities must be performed by the user for persistance. Previous wording was confusing. signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Signed-off-by: Whit Waldo <whitson.waldo@gmail.com>
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
…language' into updated-actor-csharp-quickstart-language
Fix tests broken by timing change
Revert "Fix tests broken by timing change"
modify Service Invocation sample
…start-language Clarified actor state persistence description
use daprWorkflowClient instead of daprClient in workflow sample
Signed-off-by: mikeee <hey@mike.ee>
Signed-off-by: mikeee <hey@mike.ee>
bump go validation workflow to 1.21
712046b
to
dca4b2e
Compare
Signed-off-by: kaibocai <kaibocai@microsoft.com> clean up Signed-off-by: kaibocai <kaibocai@microsoft.com> update .gitignore fix .gitignore Signed-off-by: kaibocai <kaibocai@microsoft.com>
c314b9c
to
2d7b401
Compare
Signed-off-by: kaibocai <kaibocai@microsoft.com>
@msfussell @cgillum Could we get a review on this pls? 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial feedback.
workflows/javascript/sdk/order-processor/orderProcessingWorkflow.ts
Outdated
Show resolved
Hide resolved
|
||
if (orderPayLoad.totalCost > 5000) { | ||
const approvalResult = yield ctx.callActivity(requestApprovalActivity, orderPayLoad); | ||
if (!approvalResult) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After the request for approval is sent, we're supposed to wait for an external event to get the approval result. We can't realistically rely on an activity for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was following the csharp and java quickstart examples when creating it for JS, I see both csharp and java are not waiting for an external event here. I will work on adding external event logic here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me Thanks!
Signed-off-by: kaibocai <kaibocai@microsoft.com>
c43e5cc
to
9aecc35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Suggest we move the idea on external calls to another issue, that is optional for 1.13, and we merge this now as-is.
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>
Description
Please explain the changes you've made
Add workflow quickstart for JS
Issue reference
resolve #964
We strive to have all PRs being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: