Skip to main content
saahilm0001
Known Participant
Aug 1, 2021 12:05 PM UTC
Solved

identify document or folder and user or group

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.

stefanhelzle0001
Brainy
Aug 1, 2021 1:35 PM UTC

4 replies

stefanhelzle0001
Brainy
Aug 1, 2021 1:30 PM UTC

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

saahilm0001
Known Participant
Aug 1, 2021 1:32 PM UTC

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
Aug 1, 2021 1:35 PM UTC