There was an error in an expression in encryption at Output Expressions : Neither variable(s) nor rule(s) found: expression

I am using a script task to use a expression rule. Saving the value to use further in process model. But getting the error: "There was an error in an expression in encryption at Output Expressions : Neither variable(s) nor rule(s) found: expression".

I am facing the error today only, before that it was fine.

  Discussion posts and replies are publicly visible

Parents Reply
  • if(
      or(
        a!isNullOrEmpty(ri!message),
        a!isNullOrEmpty(ri!key)
      ),
      null,
      a!localVariables(
        local!message: char(code(ri!message)),
        local!max: 16,
        local!splitted: a!forEach(
          items: enumerate(
            ceiling(length(local!message) / local!max)
          ),
          expression: a!forEach(
            items: fv!item * local!max + 1 + enumerate(local!max),
            expression: index(local!message, fv!item, {})
          )
        ),
        a!forEach(
          items: local!splitted,
          expression: rule!ALM_Encryption(message: joinarray(fv!item), key: ri!key)
        )
      )
    )

Children