API - Asana displays my username instead of the actual user who made a change in ServiceNow

Reddy
Kilo Sage

I have integrated ServiceNow and Asana through APIs, but I’m facing an issue where Asana displays my username instead of the actual user who made a change in ServiceNow.

 

For example, if a user adds a comment in ServiceNow, Asana shows my name instead of the user’s name. Upon checking the response body, I found that it is taking the “created by” as me.

 

Reddy_0-1710425107855.png

Is there an option available in ServiceNow to modify and transmit the actual username instead of mine?

7 REPLIES 7

The Machine
Kilo Sage

Its hard to say with the details provided.  Is your user account hard coded somewhere, like in a flow or script that may have been used for testing?  Or are you using your account for the integration authentication?

@The Machine I didn't hard code my details in any scripts( BR or Rest APIs). For Integration authentication, see below.

 

Reddy_0-1710430241810.png

 

🤔

Its been a while since I've used Asana so apologies.  When I went in to Asana, I was able to create a Personal Token.  Is that what you did?  If so, that would explain why its tied to your account.

How did you create your OAuth credentials in Asana?

TheMachine_0-1710431591496.png

 

I followed the below process provided by Asana.

 

Reddy_0-1710432011365.png