
Announcements
Hi
I'm trying to do a calculation in condition that if the max RUC (road user charges) minus the current RUC is less than 1000, it will do other things like send an email reminder etc.
I am using data from the users inputs from Forms.
The equation I've been trying to use is:
"sub(body('Get_response_details')?['r875e8b3fc8cc4d44889bca2847a8c922'],body('Get_response_details')?['ra1f3c4128af74fc7a172b57f82a47b62'])"
Any help is appreciated. I'm hoping it's a simple fix, I've just been looking at it for so long I feel as if I'm going crazy!
Hi @Anonymous
The expression looks good to me. Can you share a screenshot of any error that you are seeing? Maybe you can also try this:
sub(int(body('Get_response_details')?['r875e8b3fc8cc4d44889bca2847a8c922']),int(body('Get_response_details')?['ra1f3c4128af74fc7a172b57f82a47b62']))
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!