Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow Lava compare of two integers fails, and conditional logic compare fails #1205

Closed
ElimAdmin opened this issue Aug 20, 2015 · 1 comment

Comments

@ElimAdmin
Copy link

@edmistj Hi Jon. Does #1203 also solve this issue? Note the impact on an action's conditional logic check.

Two integer type workflow variables:

  1. GivingNumberNew (entered in form, defined as an integer),
  2. GivingNumberCounter (set from SQL read from an integer Global Variable).

This Lava:
New Giving Number: {{ Workflow.GivingNumberNew }}
Giving Number Counter: {{ Workflow.GivingNumberCounter }}
{% if Workflow.GivingNumberNew > Workflow.GivingNumberCounter %}
Workflow.GivingNumberNew > Workflow.GivingNumberCounter is TRUE
{% else %}
Workflow.GivingNumberNew > Workflow.GivingNumberCounter is FALSE
{% endif %}

Gives this result:
greater3

This causes the following action's conditional logic check to fail:
greater2

This action should have updated the GivingNumberCounter, but because the comparison fails, it doesn't.

@ElimAdmin ElimAdmin changed the title Workflow Lave compare of two integer values fails, and conditional logic compare fails Workflow Lava compare of two integer values fails, and conditional logic compare fails Aug 21, 2015
@ElimAdmin ElimAdmin changed the title Workflow Lava compare of two integer values fails, and conditional logic compare fails Workflow Lava compare of two integers fails, and conditional logic compare fails Aug 21, 2015
@jonedmiston
Copy link
Member

@ElimAdmin This is a similar, but different issue. We see this problem. @azturner is on the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants