I am trying to set a trigger condition to initiate When an item or a file is modified step from a calculate columns based on number.
The flow works perfectly with the first two conditions, as soon as I add
@greater(triggerOutputs()?['body/Tot_x0020_Days_x0020_C'], 7)
The flow generates an error:
InvalidTemplate. Unable to process template language expressions for trigger 'When_an_item_or_a_file_is_modified' at line '1' and column '20782': 'The template language function 'greater' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Integer' that do not match.'.
I have also tried the trigger condition:
@greater(int(triggerOutputs()?['body/Tot_x0020_Days_x0020_C'], 7))
But I am getting the same error, I have tried to change the column to single text using the formula to return the number int he SharePoint library.


Any ideas on how I can add this trigger?