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

How do you use math functions within Workflows?

  • December 10, 2021
  • 1 reply
  • 48 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
  • Level 3 ●●●
  • December 28, 2021

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