Commit Graph

64 Commits

Author SHA1 Message Date
Kevin Burnett a75437462e
remove empty pre and post script extension xml nodes (#115)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-08-01 14:19:16 -04:00
Kevin Burnett d34eb99383
Add Quick CTA for Script, PostScript and PreScript (#112)
Co-authored-by: theaubmov <ayoubaitlachgar98@gmail.com>
2024-07-23 16:34:05 -07:00
Ayoub Ait Lachgar fd7a9489d8
Fix/boundary events values (#97)
* Fix issue 1 : Cancel boundary event

* Current changes

* Fix Boundary Issue for Error & Escalation
2024-06-18 11:35:10 -07:00
jasquat 50956e496b
Vite support (#85)
* renamed js files to jsx where appropriate w/ burnettk

* removed unused import to unknown module w/ burnettk

* load React from jsx files explicitly w/ burnettk

* fixed tests w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-15 14:39:39 -04:00
jasquat cd1cf60376
remove-ext-opt-cache (#83)
* do not cache the spiff extension select options - let the caller do that if desired w/ burnettk

* fixed borken tests w/ burnettk

* also turn off event listening in other test files w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-04-08 16:05:24 -04:00
burnettk 2bb11c33bb
make main look like bd16223ccf 2024-02-05 15:24:46 -05:00
theaubmov b535947f1d Properties Panel Commits 2024-01-03 08:25:51 +01:00
jasquat bd16223ccf
if there is not businessObject then there are no extensions w/ burnettk 2023-12-20 12:14:14 -05:00
jasquat d888c37b07
added support to add categories to data objects in extensions w/ burnettk 2023-12-06 14:57:55 -05:00
jbirddog 10bcfce4fa
No param sort (#50) 2023-10-19 09:40:10 -04:00
danfunk 5fcb47125a Assume established naming conventions over requiring a form schema and ui schema each time as separate inputs. Making this one dropdown for the user form instead of two.
Assure there is always an empty option in the dropdown list, so people have
the ability to re-select nothing if they choose to do so.

Provide a way to override the default behavior when a response is provided back to a generic launch button.
2023-09-06 17:38:38 -04:00
Elizabeth Esswein c625980c55 update extension names 2023-08-30 13:45:06 -04:00
jasquat 1b390c46cb
added panel extensions for guest access to human tasks w/ burnettk 2023-08-18 11:59:59 -04:00
Elizabeth Esswein b8179146b9 allow attaching pre/post scripts to MI task or instance tasks 2023-07-31 14:24:02 -04:00
danfunk b19c69080a Assure we delete reference objects when the visible entity is removed.
And remove all those console.logs.

Removing a
2023-06-29 12:10:50 -04:00
Dan 0a9db509a0 add an additional spiffworkflow extension for Signal events which, when attached to a user or manual task, will allow you to set a button lable which will be displayed beside a submit button and allow the end user to immediately fire that signal event. 2023-05-01 13:07:22 -04:00
Dan 313969da10 Add instructions to sub-processes 2023-04-24 17:29:12 -04:00
Dan 5f2cb3d50b allow instructions on Call Activities 2023-04-24 16:19:00 -04:00
jasquat fc46b6fe59
do not update properties if we do not need to when populating a dropdown w/ burnettk 2023-04-21 11:17:00 -04:00
Dan d37a2614c7 Show the instructions on the script tasks as well - if for no other reason than it makes things easier to test. 2023-04-19 10:33:18 -04:00
Dan 69135655f8 Adding the ability to specify instructions to the end user when competing service tasks and wait events 2023-04-10 11:29:04 -04:00
jasquat 24a71ec5e2
do not update element properties if we do not need to since it can cause a change event w/ burnettk 2023-04-07 11:58:35 -04:00
Dan e92f48da7c minor fixes to the Bpmn-js-subworkflow spec. 2022-11-16 16:31:47 -05:00
Dan 4f23f860f8 add a search button to the call activity to allow finding a process id through some sort of admin interface. 2022-11-11 11:02:29 -05:00
Dan 24c2cc3606 don't flake out when no dmn options are returned. 2022-11-09 11:39:57 -05:00
Dan b285696872 fixing a bug in SpiffScript Group 2022-11-02 14:08:44 -04:00
Dan e12e27ed5f fixing a bug in SpiffScript Group 2022-11-02 12:40:47 -04:00
Dan 7b4ca1919b Merge branch 'main' into feature/more_launch_buttons_and_dropdowns 2022-11-01 21:24:22 -04:00
Dan 38b23ae4e4 No reason to force _files on there, when this could work for any set of options. 2022-11-01 20:35:29 -04:00
Dan 1e75ff7b53 Standardize all Event Names, and document in README.
Fix the SpiffExtensions so they work consistently with both nested Extension Properties, and as single extensions depending on the namespace.
Add a Spiff Extension Text Area.
Everything that is within the body of tag can be referenced with ".value" -- there was a lot of pointless inconsistency in the moddle json file.
2022-11-01 20:24:28 -04:00
Dan aeeaf1596e DMN selection should be from a dropdown, not by hand entering a process id. 2022-11-01 14:41:21 -04:00
Dan ecb175d727 Add Launch Editor buttons for Json files. (fires 'file.editor.launch', with a fileName) 2022-11-01 10:35:07 -04:00
jasquat 1fd817a8f7 no need to pass element back from the calling launch script event w/ burnettk danfunk 2022-10-31 16:50:25 -04:00
Dan 6467e967b8 Adding a Launch Button for Call Activity
Json files are now a selection list, not a text field -- see app.json for usage.
New SpiffExtensionSelect can be used to add select boxes anywhere you want.
2022-10-31 16:20:05 -04:00
Dan 3d77111f92 Hooks, and an example for setting up a Markdown editor for markdown content. 2022-10-29 15:10:17 -04:00
Dan 2cdae0ca6e Display User Instructions for Manual Tasks and End Events as well. 2022-10-29 13:56:37 -04:00
Dan 3f2abb73ab fixes a minor bug that prevented the editor from opening if no script was yet entered in the Script Task. 2022-10-29 12:25:44 -04:00
Dan c78afceb37 Allow pre-script and post-script's "Launch Editor" button to work correctly.
use commandStack to update Moddle Properties.
Providing a working example of using a code editor with this library, so it's clear how the integration would work.
Rename titles of various components -- don't call sections "SpiffWorkflow", but maybe we find a way to more gently call out these extensions later on.
2022-10-29 10:36:25 -04:00
Dan 6fe36aeb0e Minor fixes. 2022-10-19 16:12:04 -04:00
Dan d21cb75fb4 Assure we aren't setting the properties on every service task to the same thing. 2022-10-19 15:56:31 -04:00
Dan Funk e7be00a6e1
Merge pull request #18 from sartography/feature/service_result
Allow setting the variable that will contain the result of a service call
2022-10-11 10:25:40 -04:00
burnettk 2db50cb738 minor cleanup 2022-09-30 16:16:16 -04:00
Dan 9de648c5c6 Allow setting the variable that will contain the result of a service call, and add a quick sanity test on the Service Task properties panel. 2022-09-30 12:53:12 -04:00
jasquat 19cc2e3961 fixes to add and update script unit tests w/ burnettk 2022-09-27 17:40:12 -04:00
jasquat 4b377a80aa started adding tests 2022-09-15 14:00:47 -04:00
jasquat 9926fb900f unit tests can be added and deleted from script tasks w/ burnettk 2022-09-12 17:14:26 -04:00
jasquat 58e3e7c158 some initial work to support script unit tests w/ burnettk 2022-09-12 15:31:01 -04:00
jasquat 1b7973ade5 fixed setting updating message properties and removed service_tasks since that is handled as an extension now 2022-09-02 14:35:21 -04:00
jasquat 4e68e61781 added ability to add instructions to manual task w/ burnettk 2022-09-01 17:34:32 -04:00
jasquat e17c9c8d01 sort service task lists w/ burnettk 2022-08-31 17:10:58 -04:00