Novunex Community

Forum What could be wrong if my Condition statement is not working?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #501
    kathy
    Participant

      Dear all,

      I was using a condition within a process, which seems to not work correctly.
      This is what I was using:
      #[MyEntity.Revision] == 1

      What could I possibly have done wrong?

      Kind regards,
      Kathy

      #502
      Dani
      Participant

        Hi Kathy,

        To make it work, you will have to cast the first value as an integer before comparing it with 1.
        It should look like this: int(#[MyEntity.Revision]) == 1

        Best regards,
        Dani

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.