cancel
Showing results for 
Search instead for 
Did you mean: 

error when use people.getPerson.

zengqingyi12
Champ in-the-making
Champ in-the-making
when i use people.getPerson()in permissions.get.js it get errors.
but it was used in assign-workflow.post.js without any errors.
Why ?
thanks in advance ~~~~
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
How can we help without you giving more details of what error and your code that is failing?

zengqingyi12
Champ in-the-making
Champ in-the-making
I just found some web script api can be used in *.get.js  kind of web script.
and some other webscript api can be used in *.post.js kind of web script.
is this means that not all the web script share the same web script API ?

kevinr
Star Contributor
Star Contributor
They all use the same JavaScript API - the problem you are having sounds more like Permissions issue - does the user making the call have permissions to do so? Get/Post is the HTTP method of the executing webscript - it is not relevant to the question.

Kevin

zengqingyi12
Champ in-the-making
Champ in-the-making
But i always use the super user "admin" to test