Sipke Schoorstra
73482a8e4c
Enhanced Logging for Activity Outcomes and Outputs ( #4352 )
...
* Add result to logs
* Include outcomes and outputs with activity execution log
* Include outputs with completed activity events
2023-08-23 13:34:30 +02:00
Sipke Schoorstra
68a20de07f
Ignore MemoryBlockReference from Argument when serializing to JSON
2023-08-22 00:21:02 +02:00
Sipke Schoorstra
10533131e3
Add fault information to journal
2023-08-21 22:45:56 +02:00
Sipke Schoorstra
10218c27ff
Serialize activity state using activity state serializer
...
This fixes the issue where an activity's input contains objects that cannot be deserialized.
2023-08-21 11:12:17 +02:00
Sipke Schoorstra
776e3c141b
Revert PolymorphicObjectConverter changes
2023-08-21 11:10:11 +02:00
Sipke Schoorstra
1eaaecd132
Fall back to JsonObject
...
When deserialization dails due to the target type not being deserializable, return a JsonObject instead. This enable e.g. ActivityExecutionLogRecord to store JSON information for ActivityState, which does not need to be reconstructed into the original type. An improvement could be considered to store activity execution log record activity state in a non-polymorphic structure in the first place.
2023-08-21 11:00:21 +02:00
Sipke Schoorstra
687768bd3e
Prevent multiple activity completion
...
This enables CodeActivity to explicitly complete itself
2023-08-18 10:01:03 +02:00
Sipke Schoorstra
1cc7a91fc5
Fix Telnyx bookmark resumption
2023-08-16 19:49:45 +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
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
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
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
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
17a59eaa97
Use List instead of HashSet
...
Fixes #4286
2023-08-05 10:35:48 +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
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
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
64391bca8e
Add client-side activity construction property support
2023-07-25 16:21:10 +02:00
Sipke Schoorstra
e5e34c821b
Add ActivityExecutionRecord entity, persistence and endpoints
2023-07-22 21:05:33 +02:00
Sipke Schoorstra
d746456330
Use activity ID as Node ID for workflows created with tool version >= 3
2023-07-21 18:43:31 +02:00
Sipke Schoorstra
d473f2354b
Add ActivityName to execution log, remove FaultedAt instance timestamp
2023-07-21 17:52:52 +02:00
Sipke Schoorstra
72f4461ca3
Implement cascading deletion
2023-07-20 00:05:43 +02:00
Sipke Schoorstra
06c332389a
Fix that activity input was stored o parent context instead of its own
2023-07-18 13:59:12 +02:00
Sipke Schoorstra
6ae59f06d6
Include activity version with execution log
2023-07-18 11:20:00 +02:00
Sipke Schoorstra
6e458e0053
Make Mediator package reusable from outside Elsa feature system
2023-07-17 21:43:35 +02:00
Sipke Schoorstra
2c3e5719ce
Fix that flowchart name was not read from JSON
2023-07-16 22:08:08 +02:00
gurkanguran
c11aa6cf5f
Implemented workflow validation for httpendpoint path ( #4181 )
...
* Validates HttpEndpoint path before publishing workflow
* Updated behaviour of mediator apis and implemented validation for workflow path
* Implement default strategy option
* Update mediator service names
* Return validation errors as 400 BadRequest
---------
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-07-14 19:19:41 +02:00
Sipke Schoorstra
3a7b3af3b0
Improve handling of synthetic inputs and dynamic input descriptors
2023-07-13 16:16:03 +02:00
Sipke Schoorstra
d482fe037e
Undo experimental scheduling of signals
2023-07-12 18:39:02 +02:00
Sipke Schoorstra
b9ac7f2c4b
Harden Flowchart and Connection JSON serializers
2023-07-12 18:33:19 +02:00
Sipke Schoorstra
938df75664
Implement activity instance status and fix activity completion order
2023-07-09 14:03:23 +02:00
Sipke Schoorstra
9671d85013
Cleanup namespaces
2023-07-09 14:02:41 +02:00
Sipke Schoorstra
fe2a897a30
Restructure models in Workflows.Core
2023-07-09 13:12:13 +02:00
Sipke Schoorstra
8c701aa0a7
Implement activity execution log record sequence ordering
...
This ensures events are always stored in sequence, even if their timestamps are the same.
2023-07-09 12:36:33 +02:00
Sipke Schoorstra
8bf20732be
Restructure folders in API client and add WorkflowInstances API client
2023-07-07 13:53:44 +02:00
Sipke Schoorstra
b5e882efc0
Add support for mixed-cased JSON keys
2023-07-06 19:32:30 +02:00
Sipke Schoorstra
49da22fb8e
Add ToolVersion field to workflow definition
2023-07-06 18:06:18 +02:00
Sipke Schoorstra
0eea344406
Add ToolVersion field to workflow definition
2023-07-06 15:48:28 +02:00
Sipke Schoorstra
5d956c9b1e
Fix IsCollection type extension
2023-07-04 17:55:30 +02:00