Fusion Manage Forum
Welcome to Autodesk’s Fusion Manage (formerly Fusion 360 Manage) Forum. Share your knowledge, ask questions, and explore popular Fusion Manage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Permissions in workflow not responding to isOwner

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
jewalker
401 Views, 2 Replies

Permissions in workflow not responding to isOwner

In my Change order process, isOwner should be allowed to perform function of "Submit", but they cannot. 

 

Condition Script:

 

case 'SUBMIT':
conditionValue=isOwner();
conditionValue=inGroup('AMSafe Document Control');
break;

 

Library Script:

 

function isOwner(){
return(item.descriptor.ownerID === userID);

 

Am i missing something? Does it matter if users are logged in via their email address rather than user ID?

2 REPLIES 2
Message 2 of 3
tony.mandatori
in reply to: jewalker

I think you're trying to do an or between isOwner and inGroup results.

 

So try rewriting like this.

case 'SUBMIT':
    conditionValue=isOwner() || inGroup('AMSafe Document Control');
    break;

 

Message 3 of 3
jewalker
in reply to: jewalker

That worked.
Thank you

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report