Commit graph

4260 commits

Author SHA1 Message Date
Sipke Schoorstra a2b587d0d1 Order workflow definitions by name by default 2023-08-12 21:09:24 +02:00
Sipke Schoorstra e2e861af05 Use FireAndForget strategy instead of Background worker
For some reason, the background worker causes duplicate handling of notifications
2023-08-12 21:09:07 +02:00
Sipke Schoorstra 6b68bd8f6d Prevent WorkflowInbox from triggering new workflows
when targeting a specific workflow instance
2023-08-12 21:08:14 +02:00
Sipke Schoorstra cf15360c0d Fix BackgroundEventPublisherHostedService argumentation 2023-08-12 21:07:26 +02:00
Sipke Schoorstra 7c99037de2
EF Core NoTracking (#4323)
* Use NoTracking for EF Core

* Use Activity ID as Node ID for modern tooling

* Fix DispatchWorkflow activity

* Update tests and remove redundant ToolVersion
2023-08-12 16:41:16 +02:00
Sipke Schoorstra 0b8d97c422
Fix WriteHttpResponse when NoContent (#4322) 2023-08-12 11:47:07 +02:00
Sipke Schoorstra 74eec314fe
Create variable in local scope (#4321) 2023-08-12 11:04:30 +02:00
RuslanSay 0ea9399f81
Add to ElsaClientOptions.ConfigureHttpClient access to the service provider (#4318) 2023-08-11 23:02:36 +02:00
RuslanSay a0bc324b83
V3 improve dispatch endpoint (#4317)
* add versionOptions to Dispatch endpoint

* Add DispatchWorkflow API client
2023-08-11 22:59:51 +02:00
Sipke Schoorstra 3ba6a548e1
Update ForEach activity with local variables (#4315)
* Update ForEach activity with local variables

* Add option to include activity instance ID as part of bookmark hash
2023-08-11 21:59:39 +02:00
Sipke Schoorstra 57d06244ec Remove unused constructor argument 2023-08-11 11:35:02 +02:00
Sipke Schoorstra 8815284cde Update DefaultApplicationCredentialsValidator with empty value check 2023-08-11 11:34:50 +02:00
Sipke Schoorstra 265434b651
Update output selector with support for activity instances (#4307)
* Update output selector with support for activity instances

* Update tests
2023-08-10 00:20:30 +02:00
Sipke Schoorstra 62ae3b1f6e
Add ability to push variables to scheduled work (#4306) 2023-08-09 22:35:44 +02:00
GitHub Action 594c98e066 Updated designer version to 3.0.3-preview.198 2023-08-09 11:26:17 +00:00
Sipke Schoorstra 7e11ebd8bd
Add PR body generator (#4304) 2023-08-09 13:22:44 +02:00
Sipke Schoorstra 95cefe631f
Bookmarks & Activity Instances (#4301)
* Add ActivityInstanceId to bookmark model

* Fix Telnyx activity resumption

* Fix missing activity instance ID forwarding to workflow inbox
2023-08-09 13:02:20 +02:00
Sipke Schoorstra a8079090aa
Telnyx fixes (#4300)
* Update flowchart to consider activity instance completion

* Update Telnyx activities to leverage workflow inbox

* Fix Telnyx webhook activities

* Fix TransferCall and IncomingCall activities

* Turn collections into arrays for JS

* Telnyx activity fixes
2023-08-08 20:50:21 +02:00
Sipke Schoorstra d355363bc9 Add Local Event option to PublishEvent
Closes #4291
2023-08-06 21:14:23 +02:00
Sipke Schoorstra 166e11c416
Fix loss of source file + line number (#4293)
Fixes #4287
2023-08-06 20:55:24 +02:00
Sipke Schoorstra c9ca4a121d
Workflow Inbox (#4292)
* Initial implementation of workflow inbox, submission and delivery

* Implement persistence providers

* Update EF Core migrations

* Rename Services to Stores in Dapper module

* Use default serializer for primitive arrays

* Update MongoDB provider to map BookmarkId to be primary key

* Implement MongoDB provider for activity execution logs

* Use EF Core by default

* Fix private JSON constructor logic
2023-08-06 17:03:36 +02:00
Sipke Schoorstra 3f3d75940f Set Name on activity descriptors 2023-08-05 11:04:46 +02:00
Sipke Schoorstra 911d13d31c Fix component test project reference 2023-08-05 10:40:09 +02:00
Sipke Schoorstra 17a59eaa97 Use List instead of HashSet
Fixes #4286
2023-08-05 10:35:48 +02:00
Sipke Schoorstra 3134a65242 Update reference app with feature flags for proto.actor and mongodb 2023-08-05 10:34:10 +02:00
Sipke Schoorstra 68c0ad0bff Update MongoDB provider with support for non-Id key fields 2023-08-04 23:05:37 +02:00
Sipke Schoorstra e2cea7310f Update Break behavior to also handle "CompleteComposite" signal 2023-08-04 22:15:07 +02:00
Sipke Schoorstra 4faf40b3ae Improve Telnyx activities 2023-08-04 22:14:41 +02:00
Sipke Schoorstra 815b544f53 Update Flowchart completion logic
In addition to taking into account scheduled work, also check if there are actual activity instances still running
2023-08-04 11:45:07 +02:00
Sipke Schoorstra 226c25169f Improve Flowchart "Start" activity logic
With this change, the user has better control over what activity to use as the starting node. Originally, the designer wouls store the ID of the first activity to have dropped on the designer, which would cause unexpected results when later adding another activity as the root node. The logic is now changed to:

1. Use the trigger node if that node was triggered.
2. Use the Start node, if there is one.
3. Use the first activity that has no inbound connections.
4. Use the first activity in the collection.
2023-08-04 10:15:15 +02:00
Sipke Schoorstra 1c8ce5211d Minor cleanup and code polishing 2023-08-02 22:54:51 +02:00
Sipke Schoorstra fa9e3f13a0 Copy activity attributes into descriptor 2023-08-02 22:54:11 +02:00
Sipke Schoorstra 2475c251e3 Fix inconsistent input IDs 2023-08-02 22:53:54 +02:00
Sipke Schoorstra e8b1c5efe1 Fix WorkflowDefinitionActivity when referenced wf version not found 2023-08-02 22:53:15 +02:00
Sipke Schoorstra 0e7112eade Fix tool version mapping 2023-08-02 22:52:19 +02:00
Sipke Schoorstra cd5c7fbb1b Use correct output name identifiers based on workflow tool version 2023-08-02 22:52:02 +02:00
Sipke Schoorstra c8dd70693e Telnyx activity fixes and updates 2023-08-02 10:19:35 +02:00
Sipke Schoorstra 43fd0a8df6 Make Login endpoint class internal 2023-07-31 22:38:15 +02:00
Sipke Schoorstra c429fe6fcc Update API client 2023-07-31 22:37:57 +02:00
Sipke Schoorstra 10a71d3049 Add XML comments 2023-07-31 20:27:28 +02:00
Sipke Schoorstra e1784f7f6c Rename GetVariableByName to GetVariable and increase XML coverage 2023-07-31 20:03:41 +02:00
Sipke Schoorstra 98f48f3933 Update nullability of options providers 2023-07-31 19:41:25 +02:00
gurkanguran d29df110d2
Fixed getting and setting variables in context (#4267)
* Fixed getting and setting variables in context

* Added unit tests

* Add test for named variable

* Search variable in parent contexts

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-07-31 18:53:50 +02:00
Sipke Schoorstra 6ca484f6a5 Fix type conversion
Fixes #4268
2023-07-29 11:57:35 +02:00
Sipke Schoorstra b6f41aff9b Fix import issue with workflow definition store populator
Fixes #4224
2023-07-28 13:13:34 +02:00
Sipke Schoorstra 6cd3bd2d61 Delete RPC project 2023-07-27 00:12:37 +02:00
Sipke Schoorstra 8efdd55ee4 Remove offline MyGet feed 2023-07-26 23:57:37 +02:00
Sipke Schoorstra 1b3fd3be0a Update readme 2023-07-25 22:52:11 +02:00
Sipke Schoorstra 6bcfe21725 Update common.props and readme 2023-07-25 22:32:33 +02:00
GitHub Action ddfc67758b Updated designer version to 3.0.3-preview.190 2023-07-25 19:29:50 +00:00