Skip to main content
saahilm0001
August 1, 2021
Solved

identify document or folder and user or group

  • August 1, 2021
  • 4 replies
  • 1 view

Hi All,

Suppose I have a rule input of type doc or folder, I need to perform a check whether the passed data is actually a doc or folder. Any idea on how to implement this?

The same goes with the case of User or group. Have tried using typeof() but it doesn't work for me.

Best answer by stefanhelzle0001

Did you try this?

docs.appian.com/.../fnc_informational_runtimetypeof.html

4 replies

stefanhelzle0001
Brainy
August 1, 2021

How does your code using typeof() look like? What went wrong?

saahilm0001
August 1, 2021

actually, it's giving me the same output whether its a document or a folder, since data type of rule input is document or folder

stefanhelzle0001
Brainy
August 1, 2021