Define a default value for REGEX template

Created on 7 August 2022, almost 2 years ago
Updated 30 January 2023, over 1 year ago

Problem/Motivation

I am in the course of updating the model containing everything and getting up to speed again and noticed the following. I've added a SequenceFlow with the template Tamper: Find replace REGEX. I haven't set anything first. Added a few more SequenceFlows to the model before i went to bed. On save I got an error message from the point on I've added the mentioned template for a SequenceFlow:

action "Tamper: Find replace REGEX" (Flow_11npwn1): Invalid regular rexpression

I haven't minded much and wanted to find the right syntax for the regex today after adding the rest. no matter if i havent added anything to the REGEX to find field or any of the examples here https://cs.lmu.edu/~ray/notes/regex/ i always ran into the error - but the executable checkbox for the model was unchecked.
Problem is today after accessing the model again all SequenceFlows disappeared that were entered after the find replace REGEX was added (and that flow was gone as well). Meaning as soon as you leave the model and reenter those entries are gone (but i was able to save add more elements save, add save (i assumed that the error only affected the particular SequenceFlow the rest of the new entries aren't affected). Also tried adding a StartEvent or Task after the Find replace REGEX SequenceFlow. Also gone when reentering the model.

Using: Drupal 9.4.5, ECA 1.1.x-dev@dev bpmn_io 1.1.x-dev@dev and Tamper 1.x-dev@dev

Steps to reproduce

- Create a new model
- Create a new StartEvent (doesn't matter which template)
- Create a new Task (also doesn't matter which template)
- Click save
- Connect the two with a task and choose Tamper: Find replace REGEX
- Add one or two more StartEvents and or Tasks
- Click save and close the model
- Reenter the model. Only the initially added StartEvent and Task will be there the SequenceFlow and all elements added after the SequenceFlow are gone

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany rkoller Nürnberg, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024