Hello,
I'm trying to run a batch file for Export, but I am getting an authentication error. Please let me know how to fix this.
Thank you,
Veena
My code:
@echo off
rem This example runs a Process that contains an Export actions
set AnaplanUser=xx:password
set WorkspaceId="xx"
set ModelId="xx"
set ServiceUrl="https://api.anaplan.com"
set AuthUrl="https://auth.anaplan.com"
set Operation= -file "Download Template.csv" -put "C:\Users\xx\Desktop\Anaplan training\anaplan-connect\Download Template.csv" -process "Export" -execute
rem *** End of settings -Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
cd %~dp0
if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation%
@echo %Command%
cmd /c %Command%
pause