Skip to content

PTO Requests - failing in Set Requested Hours workflow step #22

@davelutztx

Description

@davelutztx

Please go through all the tasks below

  • Check this box only after you have successfully completed both the above tasks

Please provide a brief description of the problem. Please do not forget to attach the relevant screenshots from your side.

When PTO requests are submitted, the workflow fails at the Set Requested Hours step and sets Requested Hours to something that breaks the workflow.

Here's what I see in the PTO Request,

Image

the lava code for Set Requested Hours
Image

and the resulting value set for Requested Hours
Image

Expected Behavior

Expected the Requested Hours to be set to 40 (5 days x 8 hours)

Actual Behavior

Lava error above and incorrect Requested Hours

Steps to Reproduce

Go to profile and submit PTO Request

Rock Version

Rock Version: Rock McKinley 16.11 (1.16.11.1)

Plugin Version

1.1.1.3

Client Culture Setting

en-US

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions