How do you use math functions within Workflows? | Experience Community
Skip to main content
Question

How do you use math functions within Workflows?

  • Dec 10, 2021 11:45 PM UTC
  • 1 reply
  • 68 views

GrebeWatcher
Forum|alt.badge.img

I have a site intercept survey that generates a daily summary (posted as a MS Teams message) of feedback received on the site during the previous day.
Using the "Calculate Metrics" task within Workflows, I can easily generate the "total number of responses" and "total number of positive responses." However, when I try to calculate a "positive percentage" I get stuck. Is it possible to use math functions and format the output as a percentage somewhere in the Workflow so that I can display it in the Teams message?

1 reply

Forum|alt.badge.img+18

GrebeWatcher Please bring both "total number of responses" and "total number of positive responses" in Code Task and there you can calculate percentage.