BEMADEV/Room-Management

Add Resource Workfow Action

Closed this issue · 1 comments

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.

I have a resource that doesn't have a quantity. When I try to use a workflow to add that resource to a Reservation, the action asks for a quantity (although it is not required) if I leave it blank I get an error message "Nullable Object must hava a value". If I try to put a quantity in the action then the workflow throws an error, invalid quanity. I have tried 0, -1, null, all of them give me the same error. Although I can give the resource a quantity of 1, and then set the quantity in the action to 0, that does allow it to go through.

Expected Behavior

See above.

Actual Behavior

See Above

Steps to Reproduce

Create a resource and leave quantity blank.
Create a workflow to add the resource to a reservation
Add the resource using the activity (leaving quantity blank, or giving it a value).

Rock Version

15.3

Plugin Version

2.4.4.14

Client Culture Setting

en-US

Thanks! Will test it later.