api/now/processflow ACL issue

Udo Jocher
Tera Contributor

Hello,

I'm working on San Diego release and in my PDI I'm trying to experiment with Flow Designer's Dynamic Output option.

I'm trying to follow this documentation

https://docs.servicenow.com/bundle/sandiego-application-development/page/administer/flow-designer/ta...

and one step is to gather a table schema via a Rest call to /api/now/processflow/table/incident/schema (incident table in this example).

When trying this step I get a "User Not Authorized" message with "Failed API level ACL Validation".

The API user is working fine with api/now/table APIs

 

I was trying to search around where to allow the API user to use the processflow API but with no luck.

 

Does someone have an idea where to allow the access to this API?

3 REPLIES 3

Laszlo Balla
Mega Sage
Mega Sage

What are exactly the roles assigned to the user running the flow? This error can (also) happen when there are conflicting roles, i.e. one that grants access to the API and another one that blocks it.

Udo Jocher
Tera Contributor

The right role is part of my question.

I have tried various roles, like itil or even admin but without luck. 

Unfortunately I don't see /api/now/processflow as a Rest Endpoint in the ACL table to lookup the required role.

MikeB3
Tera Contributor

Try using the flow_operator role