Anaplan Connect Error - Process
I'm trying to use Anaplan connect to run a Import process but my script is incorrect. I attempted to modify my working import script per the instructions in the Anaplan Connect guide (pg 27) but it is not working
Below is my script and error, any help would be appreciated!
See the screenshot, there is a mismatch in the command. Change the Import to Process.
Here is the script I tried, this is working fine for me.
rem This example runs a Process that contains multiple Export actions
set Operation= -file "Account List.CSV" -put "C:\anaplan-connect\Account List.CSV" -file "Country.CSV" -put "C:\anaplan-connect\Country.CSV" -process "Upload Account" -execute
rem *** End of settings -Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation%
cmd /c %Command%
I can see you have separated Process & Get as separate rows, can you keep those with Set Operation command and try to run the process.
Set Operation = -File " " -Put " " -File " " -Put " " -Process " " -execute -get " "
Hi @VIGNESH.M ,
Thanks for your help, unfortunately it didn't quite work. I did adjust the script a little but I have definitely got something incorrect. Could you take another look for me?
FYI - The Process is 2 Import actions which use 1 file each
Thanks Vignesh! - I understand how the scripting is working now1