Commit graph

2611 commits

Author SHA1 Message Date
Abdelrahman El Kinani 76bb8a9eb6
Replace Dictionary with ConcurrentDictionary (#2503) 2021-11-19 20:56:58 +01:00
Konstantins Vedenins ce87ded827
fixed semaphore locking for azureservicebus activities (#2494) 2021-11-19 20:56:18 +01:00
Konstantins Vedenins 621f0ccf2e
Closes #676: Execute single activity (#2438)
* #676 added restartFromActivity server implementation

* #676: restart from activity - added client side implementation

* #676: renamed method to better reflect it's purpose

* #676: moved workflow test activity message status to enum

* #676: when workflow is executed, first activity is selected

* #676: moved workflow testing to a separate module

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2021-11-19 20:54:49 +01:00
Sipke Schoorstra 66e6a46508 Update elsa-confirm-dialog.tsx 2021-11-19 20:53:13 +01:00
Sipke Schoorstra dbeda1961f Add composite activity output sample 2021-11-18 14:59:58 +01:00
Sipke Schoorstra 6e014158c1 Merge branch 'master' of https://github.com/elsa-workflows/elsa-core 2021-11-17 18:34:23 +01:00
Sipke Schoorstra ebac9ef511 Cleanup 2021-11-17 18:34:20 +01:00
PietroLubini 123c7eaa1d
Resolve #2415 - Dynamic Activity Outcomes from activity property descriptor (#2473) 2021-11-15 16:54:33 +01:00
Konstantins Vedenins bfe000d061
#2417: removed allowJs option (#2445)
Removing allowJs option does not seem to be having any negative sides and it fixes the issue when properties form already entered expression always appear in intellisense (e.g. for "return test.prop." intellisense will suggest both "test" and "prop" as valid options even when they are not).
2021-11-10 16:21:22 +01:00
Akbar Ghasemi Tazehabadi 3d0c3eadbd
Fix for oracle persistence provider (#2450)
* Add support of Oracle NCLOB columns

in order to use data more than 2000 char we have to use NCLOB ,in oracle we have to explicitly say the column is NCLOB otherwise it would be considered Nvarchar(2000)

* remove unnecessary package source
2021-11-10 16:20:33 +01:00
Rainer Wittmann a20b728cb0
add variables tab to instance view (#2442) 2021-11-10 16:13:19 +01:00
Sipke Schoorstra a4d91c0ae0 Added sample code for demonstrating Azure Service Bus activities 2021-11-09 14:29:05 +01:00
Sipke Schoorstra 844ada9a67 Fix CleanupService
Fixes that the lock handle wasn't actually used
2021-11-04 11:40:28 +01:00
Sipke Schoorstra 369ebb6db3 Ensure CleanupService executes on one node at a time. 2021-11-04 00:33:10 +01:00
Sipke Schoorstra 8c6a01a363 Update Jint
Fixes #2426
2021-11-03 19:41:29 +01:00
Sipke Schoorstra f475790c30 Make CleanupService resilient against exceptions
This ensures the background task keeps running even when a cleanup attempt fails due to e.g. DB timeout exceptions.
2021-11-03 19:31:34 +01:00
Sipke Schoorstra feff07bda5 Make ServiceBusFactory thread-safe 2021-11-02 20:57:42 +01:00
Sipke Schoorstra bf87a2a699 Merge branch 'master' of https://github.com/elsa-workflows/elsa-core 2021-11-02 09:56:29 +01:00
Sipke Schoorstra 5f9dc30a84 Update generated designer readme files 2021-11-02 09:56:25 +01:00
RaulPuscas 4244cc222d
Update JTokenHttpResponseContentReader.cs (#1667)
Adjusted JTokenHttpResponseContentReader JToken parsing mechanic

Closes #1664
2021-11-01 23:51:26 +01:00
Sipke Schoorstra e0c8601f96 Add jsonEncode/jsonDecode JS functions
This works around the limitation of Jint's JSON.stringify where it cannot properly serialize ExpandoObject.

Fixes #2426
2021-11-01 22:37:35 +01:00
Sipke Schoorstra 9f8a8db96a Add custom attributes field to activity descriptor 2021-11-01 21:03:52 +01:00
Sipke Schoorstra 0e42ad5fe0 Update workflow launchpad to prevent duplicate correlated workflow instances 2021-11-01 11:15:00 +01:00
Sipke Schoorstra 4967a35e43 Merge branch 'master' of https://github.com/elsa-workflows/elsa-core 2021-10-29 14:58:48 +02:00
Sipke Schoorstra 6ff2d69cb2 Fix cleanup service
Fixes the issue where the job would run only once, instead of peridiocally.
2021-10-29 14:58:43 +02:00
Sipke Schoorstra 442ac6c6e9 Update message type list to hashset
Avoids duplicate entries
2021-10-29 14:58:08 +02:00
noxe 86dd2f91bb
Change RunWorkflowInternalAsync to protected virtual (#2408)
Co-authored-by: Martin <mp@prakom.net>
2021-10-26 10:11:49 +02:00
Rainer Wittmann aa5663006c
add correlationId filter to instance view (#2406) 2021-10-25 13:56:46 +02:00
Sipke Schoorstra e7d1ceb992 Formatting 2021-10-25 13:55:44 +02:00
susch19 510153de3a
Add new compare function to IBookmark (#1668)
* so values that are excluded from hashing can still be checked before triggering a workflow
* implemented a default function for the new compare in the interface, so there is no need to implement it, if the hashing is enough
* add support for case insensitive os platform for file system event
* fix case insensitivity for entity name for entity changed bookmark
2021-10-25 13:51:35 +02:00
noxe 21ff1c7c83
return enumerable if it is assignable from the desiredtype (#1669)
Co-authored-by: Martin <mp@prakom.net>
2021-10-25 13:47:07 +02:00
Konstantins Vedenins 1ecc6452a0
Fixes #1651 (#1672)
* #1651: fixed issue when non-HttpRequestModel input would cause exception

* extracted performance/fault popup content in their own components

* #1651: added fault/performance information to activity popup
2021-10-25 13:39:41 +02:00
andrewkorol 75dc334438
added validation support (#1665) 2021-10-21 13:36:35 +02:00
Sipke Schoorstra 7ee50cf6af Refactor activity execution failure event publishing logic 2021-10-21 11:21:25 +02:00
Konstantins Vedenins bccb32b003
Fixes #1651 (#1663)
* ignoring start button click in Test mode

* #1651: added word-break to endpoint URL

* #1651: refresh test panel on workflow execute, if activity is already selected

* removed clipboard permission checks that failed to build

Seems like an old ongoing issue with TypeScript: https://github.com/microsoft/TypeScript/issues/33923

* #1651: fixed flyout panel position

* #1651: flyout panel button position fix

* #1651: fixed javascript evaluation exception being swallowed

* #1651: added copy button to http entry endpoint url

* #1651: test panel refactoring, use schema button for SendHttpRequest

* #1651: add node is not clickable in test mode

* fixed "can't access property "contains", this.contextMenuWidget is undefined"

* added couple safeguard checks to context menu

* reversed incorrect update

* #1651: added z-index to toaster to move it to front

* removed unnecessary empty line
2021-10-21 11:00:17 +02:00
Sipke Schoorstra e116ca8624 Client assets production build & cleanup 2021-10-19 19:30:39 +02:00
Sipke Schoorstra ebc0808b0a Update Elsa.Activities.Webhooks.csproj 2021-10-19 11:32:34 +02:00
Sipke Schoorstra 57fab11fd5 Merge branch 'master' of https://github.com/elsa-workflows/elsa-core 2021-10-19 11:23:05 +02:00
Sipke Schoorstra 2d18300127 Formatting 2021-10-19 11:23:03 +02:00
atorres16 241b944c6f
Fix #1640 - Added the value for the message's From property (#1644)
Co-authored-by: Alejandro Torres <atorres@linamar.com>
2021-10-19 11:13:19 +02:00
Rainer Wittmann e7743144fe
fixes propertyDescriptor is potentially undefined (#1649) 2021-10-19 11:12:16 +02:00
Konstantins Vedenins 3986d9294c
Hardcoded dynamic classes (#1639) 2021-10-13 17:05:12 +02:00
Matthew Green cdf120dc0e
Alter bookmark expression to include correlation when its needed as 'this.CorrelationId == null' isnt trimmed in YesSql providing incorrect sql (#1634)
Co-authored-by: Matthew Green <Matthew.Green@brightstarr.com>
2021-10-13 13:33:47 +02:00
PietroLubini ab6b2515d0
Fix #1611 (#1633)
Co-authored-by: Petro Liubynskyi <petro.liubynskyi@sigma.software>
2021-10-13 11:31:25 +02:00
Sipke Schoorstra 02e720812e Fix pager URL 2021-10-12 17:14:18 +02:00
Sipke Schoorstra fb0e3bd048 Update Pomelo.EntityFrameworkCore.MySql to 5.0.2
Fixes #1627
2021-10-12 16:59:38 +02:00
Sipke Schoorstra 8edd9ced86 Remove "Elsa" schema from MySQL migrations
Fixes #1626
2021-10-12 16:55:27 +02:00
Sergei e1f3456d40
changed logic to check missing context for providers masstransit (#1629) 2021-10-12 16:49:48 +02:00
Konstantins Vedenins 688b9de909
#1601 swapped stencil-click-outside with @Listen decorator (#1625) 2021-10-12 16:48:04 +02:00
Sipke Schoorstra 49208b679e Fix Entity activity services 2021-10-08 21:23:10 +02:00