Forum Discussion

Henchway's avatar
Henchway
Contributor
5 years ago
Solved

Creating files in a different organization

Hi everyone, i’m having the following challenge: I’m documenting files on Gitlab which are at some point then promoted from the Dev organization to the Prod org. This promotion runs in the Dev orga...
  • koryknick's avatar
    5 years ago

    @Spiro_Taleski - you are correct - you cannot create a file in a different org directly.

    However, you could create a pipeline with a triggered task that is located in the target org that simply has a formatter (ex: CSV Formatter) and file writer snap. Then call that triggered task from your source org using a REST POST snap, pushing the file contents.

    The Project Migration API will also move files between orgs with a REST call.