'Copy Parsed Text' post function not overwriting previous setting

Issue #532 resolved
Emily Anderson created an issue

Hi,

I'm having issues with the 'Copy Parsed Text' post function. It seems to be removing information from a custom field, but not overwriting it, as I need.

Am I missing something here?

thanks, Emily

Comments (2)

  1. Fidel Castro Armario repo owner

    Hi Emily,

    When you write a field in a transition, the new value will not be available until the transition has ended. When you read the overwritten custom field within the same transition, you obtain the old value.

    You can solve the problem using virtual field "Ephemeral string 1", which doesn't have the problem described. Do it like this:

    1. Insert "Copy a parsed text to a field" post-function at 2nd position for writing current value of field "Tier" into "Ephemeral string 1".
    2. Edit post-functions 3rd, 4th and 5rh (currently 2nd, 3rd and 4th), and replace field "Tier" with "Ephemeral String 1" everywhere (i.e., target field, and field code).
    3. Insert "Copy a parsed text to a field" post-function at 6th position for writing "Ephemeral String 1" into "Tier".
  2. Log in to comment