Skip to main content
Question

Copy Application via Pipeline

  • October 31, 2023
  • 0 replies
  • 68 views

Currently re-building our governance app and need the ability to copy applications..

I have a pipeline that use's the Make Request action, but when I test it, it returns an authentication denied access error.

The Make Request connection is using the "Realm Default Account" with my user, which is the standard name when you create a new connection. My user account is a super user.

If I switch it to a user token connection, and grant that token access to the app I'm trying to copy, then it works fine. But I don't see a way to automatically add an app to a user token via API, so I don't think that method will work for me.

Has anyone else accomplished this via Pipelines?



------------------------------
Jordan Bardwell
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+9
  • Registered
  • October 31, 2023

Is the issue that you're not able to copy the app this way, or that you're trying to do something with the new app and the usertoken isn't valid for the new app that you just created?

If it's some version of the latter - you're best bet is to do an API_Authenticate Request in the Pipeline, get the ticket from the response and pass that ticket into the request as opposed to using the User Token. 



------------------------------
Chayce Duncan
------------------------------