Commit Graph

56 Commits

Author SHA1 Message Date
Elizabeth Esswein c625980c55 update extension names 2023-08-30 13:45:06 -04:00
danfunk 84183ffd33 we weren't setting the property when updating a start event. 2023-08-04 14:49:07 -04:00
Dan 82260144f9 Merge branch 'feature/inherited-data-objects' into main 2023-03-06 10:43:59 -05:00
Dan 0f72530323 remove ununsed code, and alter correlation properties such that the id and name are always set to the same thing. 2023-03-06 10:43:39 -05:00
Dan 887f318f79 Minor cleanup of display in bpmn-js 2023-03-02 16:05:15 -05:00
Dan a547888ef1 run_pyl 2023-02-23 14:17:22 -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 f1f008e3e3 fixing a bug in the bpmn editor that was attempting to create the wrong element. 2023-02-13 12:27:45 -05:00
Dan 7b4ca1919b Merge branch 'main' into feature/more_launch_buttons_and_dropdowns 2022-11-01 21:24:22 -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 a185cce56a * 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.
2022-10-24 16:13:11 -04:00
jasquat cfb2badc72 remove all related messageRefs when removing a message 2022-09-20 09:35:58 -04:00
jasquat 1f86a459eb show placeholder help message if no correlation keys exist when editing a property w/ burnettk 2022-09-19 11:17:56 -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 c4f46a4d52 added support for call activities w/ burnettk cullerton 2022-09-06 15:43:04 -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 2a15c5e004 use index in property names and not a value that could change to avoid losing focus when typing 2022-08-26 08:57:35 -04:00
jasquat c6d4d300c3 do not show properties in dropdown that are already associated with the message w/ burnettk jbirddog 2022-08-25 12:19:19 -04:00
jasquat aa866412d8 we can add and remove properties from messages w/ burnettk 2022-08-25 11:23:05 -04:00
burnettk 880fdf75ce simplify one-liner 2022-08-24 22:29:24 -04:00
jasquat fcd6bd8638 we can select a property for message w/ burnettk cullerton 2022-08-24 18:17:03 -04:00
jasquat cab4fb10fc we can remove correlation properties w/ burnettk cullerton 2022-08-24 17:33:04 -04:00
jasquat 60e515f868 we can add correlation properties w/ burnettk cullerton 2022-08-24 17:27:49 -04:00
jasquat 22cb81feee allow assigning keys to properties w/ burnettk cullerton 2022-08-24 15:59:08 -04:00
jasquat a6cb4e2aaa we can remove correlation keys w/ burnettk cullerton 2022-08-24 12:38:47 -04:00
jasquat 51aa461a04 we can delete messages w/ burnettk cullerton 2022-08-24 12:22:41 -04:00
jasquat feb1d64a5a added ability to create new messages w/ burnettk cullerton 2022-08-24 12:04:47 -04:00
jasquat 85c2e03b88 correlation key names can be edited w/ burnettk cullerton 2022-08-17 16:01:33 -04:00
jasquat f5ce011f50 added ability to add new correlation keys w/ burnettk cullerton 2022-08-17 15:04:14 -04:00
jasquat cdde899f2e renamed message correlation array to correlation properties w/ burnettk cullerton 2022-08-17 14:24:37 -04:00
jasquat 797886a401 disable setting variable payload if a message is not selected w/ burnettk cullerton 2022-08-17 14:05:59 -04:00
jasquat 1c5e0630ee we can set message variable w/ burnettk cullerton 2022-08-17 13:05:46 -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 15dce19da0 display message info for only message throw events and send tasks w/ burnettk cullerton 2022-08-16 16:41:37 -04:00
jasquat 123e4301c7 display message correlations for throw events w/ burnettk cullerton 2022-08-16 16:21:30 -04:00
jasquat cac15d7b5f throw event can show payload as well w/ burnettk cullerton 2022-08-16 16:11:46 -04:00
jasquat 501519e864 throw events can set meesages w/ burnettk cullerton 2022-08-16 16:00:53 -04:00
jasquat 66884b3706 remove camunda message from throw events w/ burnettk cullerton 2022-08-16 15:11:35 -04:00
jasquat c6af750012 fixed getting a send task without a message selected w/ burnettk cullerton 2022-08-16 14:30:45 -04:00
jasquat 9471a6b7bd displaying a simple entry for collaboration keys w/ burnettk cullerton 2022-08-16 14:17:55 -04:00
jasquat c31d85b81c some correlation keys are displaying in the collaboration prop panel w/ burnettk cullerton 2022-08-16 13:02:14 -04:00
mike cullerton 04175a7516 Committing to share w/the machine 2022-08-16 11:11:16 -04:00
mike cullerton 265191220c Display expression instead of name 2022-08-12 17:02:15 -04:00
Dan 9b57e49695 get mesage correlation array working 2022-08-12 16:02:59 -04:00
mike cullerton 20e32f2060 Commit for Dan to play with 2022-08-12 15:46:53 -04:00
mike cullerton f0d29750d8 Fix getMessagePayloadObject to use new location of messagePayload 2022-08-12 12:51:39 -04:00
mike cullerton d5777c53ea cleanup wording 2022-08-11 14:30:14 -04:00
mike cullerton df606f2feb message correlations start 2022-08-11 14:27:42 -04:00
jasquat 89436f3e9c send task can edit payload w/ cullerton 2022-08-09 12:26:52 -04:00
jasquat 069cb405a0 we can set values on the send task now w/ cullerton 2022-08-09 11:22:08 -04:00