Commit Graph

50 Commits

Author SHA1 Message Date
Ayoub Ait Lachgar 160f6dfecd
Update DataStoreRefLabel on selecting data store (#67) 2024-02-07 07:06:09 -08:00
Ayoub Ait Lachgar f91df9426f
Add Data store module 2024-02-05 15:26:44 -05:00
burnettk 2bb11c33bb
make main look like bd16223ccf 2024-02-05 15:24:46 -05:00
Ayoub Ait Lachgar bcc6057cd3 Remove Consoles 2024-02-02 19:24:04 +01:00
Ayoub Ait Lachgar f9d60b5e77 Completed 2024-02-02 16:44:41 +01:00
theaubmov b535947f1d Properties Panel Commits 2024-01-03 08:25:51 +01:00
theaubmov 71cf495df1 Implement Tests 2023-11-16 16:21:46 +01: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
danfunk f40cecc05e * Assure that Data object in pools can be changed to reference other data objects within the same pool.
* In the runnable demo, add the keyboard bindings to copy/paste/delete etc... work.
* Added a test for data objects in pools.
2023-06-28 15:43:16 -04:00
Elizabeth Esswein 2556a45995 better method for fixing references 2023-06-26 13:27:17 -04:00
Elizabeth Esswein 462a5e7778
Merge pull request #27 from sartography/feature/multi-instance-task-panel
Feature/multi instance task panel
2023-06-06 09:51:15 -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
Elizabeth Esswein 61f2e5db32 add custom importer to handle loop input/output 2023-04-06 18:51:15 -04:00
Dan 9e2a8f3848 minor tweak for adding data objects to lanes/participants. 2023-03-03 14:25:06 -05:00
Dan 53378437d0 BPMN.io -- Just show the message names not the ids - to assure we are only exposing the names.
SpiffWorkflow -
    - start_messages function should return message names, not ids.
    - don't catch external thrown messages within the same workflow process
    - add an expected value to the Correlation Property Model so we can use this well defined class as an external communication tool (rather than building an arbitrary dictionary)
    - Added a "get_awaiting_correlations" to an event, so we can get a list of the correlation properties related to the workflows currently defined correlation values.
    - workflows.waiting_events() function now returns the above awaiting correlations as the value on returned message events
 Backend
    - Dropping MessageModel and MessageCorrelationProperties - at least for now.  We don't need them to send / receive messages though we may eventually want to track the messages and correlations defined across the system - these things (which are ever changing) should not be directly connected to the Messages which may be in flux - and the cross relationships between the tables could cause unexpected and unceissary errors.  Commented out the caching logic so we can turn this back on later.
    - Slight improvement to API Errors
    - MessageInstances are no longer in a many-to-many relationship with Correlations - Each message instance has a unique set of message correlations specific to the instance.
    - Message Instances have users, and can be linked through a "counterpart_id" so you can see what send is connected to what recieve.
    - Message Correlations are connected to  recieving message instances.  It is not to a process instance, and not to a message model.  They now include the expected value and retrieval expression required to validate an incoming message.
    - A process instance is not connected to message correlations.
    - Message Instances are not always tied to a process instance (for example, a Send Message from an API)
    - API calls to create a message use the same logic as all other message catching code.
    - Make use of the new waiting_events() method to check for any new recieve messages in the workflow (much easier than
    churning through all of the tasks)
    - One giant mother of a migration.
2023-02-23 13:53:03 -05:00
Dan e92f48da7c minor fixes to the Bpmn-js-subworkflow spec. 2022-11-16 16:31:47 -05:00
Dan 084f46464c Fixing a bug in the Call Activity's handing of an update. 2022-11-14 12:23:22 -05: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
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 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
jasquat 28eccc0d00 merged in main and resolved conflicts w/ burnettk 2022-09-27 10:31:45 -04:00
Dan dd34b6182b Undoing mistakes from yesterday and today. 2022-09-23 14:32:25 -04:00
Dan bd9d530a50 prep for release. 2022-09-21 13:44:10 -04:00
Dan a2824cb8ec A little more clean up of code and examples. 2022-09-21 09:10:34 -04:00
Dan 00c9b7638a Moving file operations into a seperate javscript file to help clean up the example. 2022-09-20 16:18:59 -04:00
jasquat 5b155c040f update the prop panel when selecting a correlation key for a property w/ burnettk 2022-09-19 11:04:30 -04:00
jasquat 58e3e7c158 some initial work to support script unit tests w/ burnettk 2022-09-12 15:31:01 -04:00
jasquat a9196834ff some minor cleanup w/ burnettk cullerton 2022-09-08 16:23:06 -04:00
jasquat 5ecb49e9f5 some initial work to support adding condition expressions to gateway 2022-08-24 09:33:06 -04:00
jasquat 857226f660 added basic message bpmn w/ burnettk cullerton 2022-08-17 14:09:39 -04:00
jasquat 395004c696 added message variable but need to fix setting it and payload w/ burnettk cullerton 2022-08-17 12:55:14 -04:00
jasquat 016515c85f we can display correlation keys w/ cullerton 2022-08-05 14:57:30 -04:00
Dan 8b3ee43232 work in progress, adding collaboration properties panel. 2022-08-04 16:38:40 -04:00
Dan c73cff8a63 refactor - just reorganizing the properties panel so it is chunked under different topic areas rather than all in one giant file. 2022-08-04 15:57:15 -04:00
Dan 4441e2894a fixing a bug in the Extension Text Input.
Adding the ability to upload a BPMN file to test out in the default index.html
2022-07-11 13:57:12 -04:00
Dan 270a3deb59 cleaning up the naming of groups and sections so it is clear when we are doing thing internal to BPMN, vs adding SpiffWorkflow specific items. 2022-07-11 11:27:16 -04:00
Dan ea56f270bc fixing a bug that was preventing the dropping of components in some situtations.
Adding new data object rules that will prevent you from moving a DataObject from one process to a sub-process.
Fixing the Selection of Data Objects to properly use the command stack.
2022-07-08 10:30:21 -04:00
Dan d20c7e8677 Don't create new data objects each time you add a data reference, rather, use the first data object you can find. If no data objects exist, add one. 2022-07-07 11:20:43 -04:00
Dan 84be279476 More test refactoring - lots of crazy hell going on in helpers.js -- but the actual tests are now very clean and simple, and should be easy to extend and replicate as this thing grows. 2022-06-30 14:02:38 -04:00
Dan 0c9e21a2a5 Adding ability to define pre-scripts and post-scripts on every task that isn't aleady a script task (All tasks, call activities and sub-processes) Scripts will show up as:
```
<userTask id="Task_1" name="What is your favorite color?">
      <extensionElements>
        <spiffworkflow:postScript>x=1</spiffworkflow:postScript>
        <spiffworkflow:preScript>answer="blue"</spiffworkflow:preScript>
      </extensionElements>
     ...
```
2022-06-27 17:29:24 -04:00
Dan 10caaf5242 Some quick additions so that we can run this thing independently, and still have breadcrumbs and downloads which will help when debugging with SpiffWorkflow. 2022-06-21 17:04:24 -04:00
jasquat 152777b024 changed the magic example into the script editor that we need w/ burnettk 2022-06-15 15:13:35 -04:00
Dan cd7f3032e6 final fixes to get the custom panel to work. 2022-06-15 10:00:03 -04:00
Dan c8a14b6d4e Initial work to get a properties panel working. 2022-06-15 09:51:46 -04:00
Dan 228478426b setting up some basic tests - just to assure things are working correctly. 2022-06-08 16:31:17 -04:00
Dan e46505e9a3 Add IO Palette to display the input and output elements. 2022-06-07 14:52:29 -04:00
Dan 8cf9f9ca91 first commit 2022-06-07 14:16:49 -04:00