Commit Graph

18 Commits

Author SHA1 Message Date
burnettk fae42d32ba Squashed 'bpmn-js-spiffworkflow/' changes from 24a71ec5e..fc46b6fe5
fc46b6fe5 do not update properties if we do not need to when populating a dropdown w/ burnettk
ef9d25e49 Merge pull request #29 from sartography/dependabot/github_actions/JS-DevTools/npm-publish-2
254dc2103 Bump JS-DevTools/npm-publish from 1 to 2
2214ac643 Merge branch 'main' of github.com:sartography/bpmn-js-spiffworkflow into main
d37a2614c Show the instructions on the script tasks as well - if for no other reason than it makes things easier to test.
4b24261d5 Merge pull request #28 from sartography/dependabot/github_actions/dependabot/fetch-metadata-1.4.0
05697d43b Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0
69135655f Adding the ability to specify instructions to the end user when competing service tasks and wait events

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: fc46b6fe599a5d4932286c78db3675c7a150d36c
2023-04-21 11:22:56 -04:00
burnettk 79c0366cc7 Squashed 'bpmn-js-spiffworkflow/' changes from 6391337a8..24a71ec5e
24a71ec5e do not update element properties if we do not need to since it can cause a change event w/ burnettk

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 24a71ec5e2cbbefce58be4b4610151db4a55a8e1
2023-04-07 12:06:49 -04:00
burnettk a5ebbe24fd Squashed 'bpmn-js-spiffworkflow/' changes from c4843c17b..6391337a8
6391337a8 Fix for lanes that doesn't break the world.
5f849c690 Revert "Revert "Fix bug with Data Object Interceptor picking up too much.""
1fa1f8741 Merge branch 'main' of github.com:sartography/bpmn-js-spiffworkflow into main
76e6ac22f Revert "Fix bug with Data Object Interceptor picking up too much." Seems to be preventing someone from saving the file. This reverts commit c807dbcb2c1c2a30a1c8e20851c60082d46eddeb.
2822ba164 Merge pull request #25 from sartography/dependabot/github_actions/dependabot/fetch-metadata-1.3.6
9ee6d378f Merge pull request #20 from sartography/dependabot/github_actions/crazy-max/ghaction-github-labeler-4.1.0
c807dbcb2 Fix bug with Data Object Interceptor picking up too much. don't look for the color picker right now. clean up the css
82260144f Merge branch 'feature/inherited-data-objects' into main
0f7253032 remove ununsed code, and alter correlation properties such that the id and name are always set to the same thing.
1178d2fb7 Bump dependabot/fetch-metadata from 1.3.4 to 1.3.6
d9bf091f2 Bump crazy-max/ghaction-github-labeler from 4.0.0 to 4.1.0

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 6391337a86a6342fcfcfcd3e57d39cb61c7af668
2023-04-07 11:46:18 -04:00
Dan 1be006811b Squashed 'bpmn-js-spiffworkflow/' changes from a547888ef..c4843c17b
c4843c17b Merge pull request #26 from sartography/feature/inherited-data-objects
9e2a8f384 minor tweak for adding data objects to lanes/participants.
ada919e59 add a few tests on data object visibility
627e771d4 allow subprocesses to inherit data objects
887f318f7 Minor cleanup of display in bpmn-js

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: c4843c17b869d1c730494dc10ddb31d761e2ac40
2023-03-03 14:31:23 -05:00
burnettk 3add069267 Squashed 'bpmn-js-spiffworkflow/' changes from f1f008e3e..a547888ef
a547888ef run_pyl
53378437d 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.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: a547888ef102046bab983b9004f07d4398e9a1bc
2023-02-27 14:59:39 -05:00
burnettk 3e374f93cb Squashed 'bpmn-js-spiffworkflow/' changes from 9252af81..f1f008e3
f1f008e3 fixing a bug in the bpmn editor that was attempting to create the wrong element.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: f1f008e3e39be43b016718fca6a38b248ab4ecf7
2023-02-23 10:50:00 -05:00
jasquat f91ce2e6be Squashed 'bpmn-js-spiffworkflow/' changes from aca23dc56..9252af813
9252af813 Adding tests for the user service , and closing a few logic errors.  Adding support for a single wild card for matching all users.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 9252af8138165fa38866365770ae015656a7e274
2023-01-05 17:35:24 -05:00
Dan 4f6ebd392a Squashed 'bpmn-js-spiffworkflow/' changes from e92f48d..aca23dc
aca23dc Fixes several bugs in the editor related to Data Objects: 1) Correctly position the label on new data objects 2) When a Data Object is removed, remove all its references as well. 3) Avoid duplicate names showing up in the Data Objects list. 4) Allow non-words in data object names.
05660e9 Per bug list we went over today, fixing a deep irritation with data object renaming, hopefully this feels better.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: aca23dc56e5d37aa1ed0a3cf11acb55f76a36da7
2022-11-25 11:07:59 -05:00
burnettk c574ceba76 Squashed 'bpmn-js-spiffworkflow/' changes from 4f23f860..e92f48da
e92f48da minor fixes to the Bpmn-js-subworkflow spec.
af88025a Merge remote-tracking branch 'origin/main' into feature/call_activity_selection
f3bd1e56 Minor tweak to bpmn-js-spiffworkflow
9207ef45 Minor tweak, in the hopes of getting a text box to update correctly.
084f4646 Fixing a bug in the Call Activity's handing of an update.
c9035994 Return the event bus when calling a search.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: e92f48da7cb4416310af71bb1699caaca87324cd
2022-11-18 10:03:38 -05:00
burnettk a55ad7037a Squashed 'bpmn-js-spiffworkflow/' changes from 09fa713bb0..4f23f860f8
4f23f860f8 add a search button to the call activity to allow finding a process id through some sort of admin interface.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 4f23f860f8f07813802322127b5f294dc8125af2
2022-11-11 11:41:03 -05:00
Jon Herron 101e036576 Squashed 'bpmn-js-spiffworkflow/' changes from 24c2cc360..09fa713bb
09fa713bb kill a few consoles

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 09fa713bb0bb1b9d4f97684afc46bc3711e11770
2022-11-09 15:45:53 -05:00
jasquat 25a1e84439 Squashed 'bpmn-js-spiffworkflow/' changes from 96dcd1a24..24c2cc360
24c2cc360 don't flake out when no dmn options are returned.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 24c2cc36067adf8fed75990c6bf4a1a67bc9122b
2022-11-09 15:03:55 -05:00
Dan 9213cea140 Squashed 'bpmn-js-spiffworkflow/' changes from 999ea7e4c..96dcd1a24
96dcd1a24 Merge pull request #23 from sartography/feature/more_launch_buttons_and_dropdowns
f6eb4123d disable test for disabled button.
84593aee1 remove launch button for call activities.
b28569687 fixing a bug in SpiffScript Group
e12e27ed5 fixing a bug in SpiffScript Group
7b4ca1919 Merge branch 'main' into feature/more_launch_buttons_and_dropdowns
38b23ae4e No reason to force _files on there, when this could work for any set of options.
1e75ff7b5 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.
aeeaf1596 DMN selection should be from a dropdown, not by hand entering a process id.
ecb175d72 Add Launch Editor buttons for Json files. (fires 'file.editor.launch', with a fileName)
6467e967b 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.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 96dcd1a2497f84f8ca3f2a82e311d50e391bf7b7
2022-11-07 14:35:53 -05:00
jasquat f4747f4ee6 Squashed 'bpmn-js-spiffworkflow/' changes from ff9a4fd28..999ea7e4c
999ea7e4c better peer dependencies.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 999ea7e4c0e5157546625fbd7b1eb5cc8a79c0c0
2022-10-31 17:19:09 -04:00
burnettk 2902090419 Squashed 'bpmn-js-spiffworkflow/' changes from 4ed985f4a..ff9a4fd28
ff9a4fd28 Merge pull request #22 from sartography/bug/pre_post_script_launch_button
1fd817a8f no need to pass element back from the calling launch script event w/ burnettk danfunk
fbcda3f67 Specify Peer Dependencies -- as it is likely that embedding this library will occur within projects that use other bpmn-js components.
3d77111f9 Hooks, and an example for setting up a Markdown editor for markdown content.
2cdae0ca6 Display User Instructions for Manual Tasks and End Events as well.
08c03a4dd Removing the dist directory.
3f2abb73a fixes a minor bug that prevented the editor from opening if no script was yet entered in the Script Task.
c78afceb3 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.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: ff9a4fd28f0ef0fd43df344352217be2eeca70c8
2022-10-31 17:02:34 -04:00
burnettk 650c13eb20 Squashed 'bpmn-js-spiffworkflow/' changes from 9c0da0240..4ed985f4a
4ed985f4a kill console
fdbad7565 Forgot a test.
a185cce56 * For Correlation Properties, should use messagePath and not formalExpression for the name. * When all data input and outputs are removed, the ioSpecification should be removed as well * If an ioSpecification is present, then there shoud be a at least one dataInputset and at least one dataoutputset.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 4ed985f4a2e6ce024928a85d07063b8e69c41e8d
2022-10-28 13:52:08 -04:00
jasquat bb86175687 Squashed 'bpmn-js-spiffworkflow/' changes from b3eef6e52..9c0da0240
9c0da0240 Merge pull request #21 from sartography/bug/data_objects
6fe36aeb0 Minor fixes.
d21cb75fb Assure we aren't setting the properties on every service task to the same thing.
f28a3f89e Deleting any data object reference caused the associated data object to get deleted. Fixes this so that only if you delete all references, wii the data object be removed. Also assures that a new data object is not created when adding to a participant in a collaboration (an edge case bug(.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: 9c0da02406ecbc51cfd7fd1ed1f2f311101d9987
2022-10-19 16:16:54 -04:00
Jon Herron 1d3a492179 Squashed 'bpmn-js-spiffworkflow/' content from commit b3eef6e5
git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: b3eef6e52cb91d10081f1586dc035701956f93a9
2022-10-12 10:21:19 -04:00