Workflows » Define Variables » Replace

What problem are you observing?

The Replace transform UI doesn’t allow to replace a string with an empty string. Or a blank string (only spaces).

What is the correct behavior?

It should allow replacing a string with an empty string or a string consisting of a single space character.

What product feature is this related to?

ISC Workflows / Define Variables Operator
image

What are the steps to reproduce the issue?

  • try to configure the Define variable step
  • use an empty string or a space character are Replacement
  • press Apply

Do you have any other information about your environment that may help?

The transform seems to support this operation if edited/changed manually afterwards:

  {
      "id": "sp:transform:replace:string",
      "input": {
        "pattern": "some text to replace",
        "replacement": ""
      }
    }
2 Likes

I am seeing this same thing, and it would be useful if we could clear values.

1 Like