Anaplan file export using Anaplan connect and process
Hi,
I am trying to build regular export action / process and using in Anaplan connect to automate it . But when I create process / action with everyone access and run in Model it works . Bute when the same process I call through the Anaplan connect it gives me error "File not found in workspace or model". pls help me to identify and fix this issue asap . Thanks
Answers
-
@Krushna - Is your export name the same as mentioned in the script?
You can also use the Anaplan script generator to avoid any mismatch in names & for a more user friendly UI -
https://community.anaplan.com/discussion/156260/introducing-the-anaplan-integration-script-generator-simplifying-anaplan-connect-scripting0 -
Hi all ,
Is there anyone who can help me to fix thix error ? pls
My code as follow and atatched is the error,
@echo off
REM GOBAL CALL AND EXECUTION**
set CertPath="D:\anaplan-connect\CARootCertificate_IBPHelpdesk\CA_Certificate.pem"
set PrivateKey="D:\anaplan-connect\CARootCertificate_IBPHelpdesk\Private_Key.pem"
set Passphrase=""
set WorkspaceId="8a81b01375ed38b901761ed8b4dc04c2"
set ModelId="65F9BB55755440178065291418B38033"
set ServiceUrl="https://api.anaplan.com"
set AuthUrl="https://auth.anaplan.com"
set ProcessName="P63.1 Export to RS EWIN"
set OutputName="D:\Anaplan Data_V2\Outbound Stagging\Export To RS EWIN V1.csv"
set Chunksize=1set Operation= -debug -service %ServiceUrl% -auth %AuthUrl% -chunksize %Chunksize% -process %ProcessName% -execute -get %OutputName%
rem *** End of settings - Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
cd %~dp0
set Credentials=-certificate %CertPath% -privatekey %PrivateKey%:%Passphrase%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation%
@
cmd /c %Command%REM STAGGING TO PROCESSED******
set hr=%time:~0,2%
if "%hr:~0,1%" equ " " set hr=0%hr:~1,1%
Move /-y "D:\Anaplan Data_V2\Outbound Stagging*Export To RS EWIN V1.csv" "D:\Anaplan Data_V2\Export to RS\Export To RS EWIN V1.csv"
PauseTimeout
0