Sipke Schoorstra
710950a287
Cleanup
2023-09-19 22:43:44 +02:00
Sipke Schoorstra
89f94a2261
File Uploads ( #4457 )
...
* Initial support for receiving files via HTTP Endpoint activity
* Implement HTTP endpoint request timeout
* Implement request time out handling
* Implement request size validation
* Formatting
* Implement application and system level cancellation tokens
* Create CancellationTokens struct
* Cleanup HttpEndpoint
* Implement file size validation
* Implement file extension validation
* Implement mime type validation
* Update usages of cancellation tokens
2023-09-19 22:42:53 +02:00
Sipke Schoorstra
fbdd555dd9
Implement workflow-level exception handling
...
Fixes #4451
2023-09-18 20:52:53 +02:00
Sipke Schoorstra
e52c4eb91f
Add support for registering customized output names
...
Issue #4174
2023-09-18 19:45:49 +02:00
Sipke Schoorstra
635d4f6948
Terminal Activities ( #4454 )
...
* Implement terminal node behavior
* Cleanup
2023-09-18 14:23:43 +02:00
Alexander Rose
a21751672d
make type name helper aware of generics ( #4442 )
...
* make type name helper aware of generics
* fix ActivityTypeNameHelper.GenerateTypeName for generic types specifying a type name in the activity attribute
2023-09-17 20:08:38 +02:00
Sipke Schoorstra
bb2fa55d0e
WriteHttpFileResponse Activity ( #4445 )
...
* Incremental work on WriteFileHttpResponse activity
* BREAKING Schema change - Increase bookmark flexibility
* Implement zipped file response
2023-09-16 11:06:56 +02:00
Sipke Schoorstra
12f9e0844b
Add logging of composite completion signal
2023-09-14 17:27:42 +02:00
Sipke Schoorstra
7f0b3cb8fc
Fix cascaded handling of SetOutcome
2023-09-14 16:30:18 +02:00
Sipke Schoorstra
1f3851b652
Add debug logging to Flowchart activity
2023-09-14 12:51:10 +02:00
Sipke Schoorstra
45169d0e71
Add incident timestamp
2023-09-14 11:19:05 +02:00
Sipke Schoorstra
03b608410b
Incidents ( #4436 )
...
* Implement Incident Strategy interface and resolver
* Add ActivityIncident model
* Add IncidentCount and Incidents properties and update migrations
* Expose incident strategies API endpoint
* Update API client with Incident Strategy models
* Replace Fault with Incidents
* Register fault status when any children have faulted
* Map incident count
* Remove unnecessary AlreadyCompleted result
* Ensure next activities are scheduled only if activity completed normally
* Incident roundtrip and fix workflow instance realtime updates
* Remove unused variable
* Add integration tests
2023-09-14 10:50:02 +02:00
Sipke Schoorstra
6fddd5223d
Add execution context affinity and prevent duplicate scheduling for Join
...
This fixes the issue where the Join activity executes twice and potentially one instance never completes.
2023-09-12 20:27:36 +02:00
Sipke Schoorstra
287442ca7e
Update middleware to also inspect memory block for output values
2023-09-11 21:58:27 +02:00
Sipke Schoorstra
e8421bd148
Fix SetOutput when used in composite activity
2023-09-11 21:36:07 +02:00
Sipke Schoorstra
9bb2c44d32
Fix broken select list options
2023-09-11 18:58:10 +02:00
Sipke Schoorstra
2ba5051880
Fix connection comparison
...
Fixes the issue where restored connections would keep being restored upon deserialization
2023-09-11 11:22:03 +02:00
Sipke Schoorstra
f6c4ffb934
Fix tag not passed to child completion callback
...
Fixes #4387
2023-09-10 18:34:40 +02:00
Sipke Schoorstra
5d7188a4e8
Add ability to schedule outcome names.
2023-09-10 15:34:26 +02:00
Sipke Schoorstra
fc3b82aa46
Fix SetOutput activity when used inside root scope
2023-09-09 22:35:04 +02:00
Sipke Schoorstra
018b3a3672
Fix flowchart not completing when using explicit WaitAny joins
2023-09-08 21:15:40 +02:00
Sipke Schoorstra
6d9c21c7a5
Dynamic Outcomes + JavaScript Outcomes ( #4410 )
...
* Implement dynamic outcomes UI hint
* Implement JavaScript outcomes
2023-09-07 20:34:53 +02:00
Sipke Schoorstra
003bf4e335
Fix output accessors and add tests
2023-09-06 22:57:01 +02:00
Sipke Schoorstra
a4b660026c
Fix input being overwritten with null
2023-09-06 19:24:50 +02:00
Sipke Schoorstra
4fe7518976
Add initial support for persisting workflow input
2023-08-31 21:04:19 +02:00
Sipke Schoorstra
45d194125d
Remove WorkflowStateStore ( #4374 )
...
* Remove WorkflowStateStore and use WorkflowInstanceStore instead
* Delete RunningWorkflows actor
* Cleanup
2023-08-30 15:42:16 +02:00
Sipke Schoorstra
7358613653
Fix orphaned completion callback handling
2023-08-26 02:02:02 +02:00
Sipke Schoorstra
ca25b78457
Fix Break behavior ( #4365 )
...
* Fix Break behavior
* Ensure removal of completion callbacks
2023-08-26 01:11:10 +02:00
Sipke Schoorstra
4d37c2a1da
Fix Default Workflow Runtime Race condition ( #4362 )
...
* Refactor Telnyx activities to use instance ID for correlating events
* Ensure SetVariable sets value in correct scope
* Fix race condition between new instances that are being resumed
* Fix tests
2023-08-24 21:41:45 +02:00
Sipke Schoorstra
a30ac939ee
Refactor safe serializer ( #4361 )
2023-08-24 13:15:28 +02:00
Sipke Schoorstra
48b2e29b00
Refactor activity state serializer ( #4357 )
2023-08-23 21:57:10 +02:00
Sipke Schoorstra
a02bacbbde
Support serialization of non(de)serializable values ( #4356 )
2023-08-23 20:56:12 +02:00
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