using anaplan connect.
batch executed via a BODS job called by a SAP process chain.
All is working well if i import a file with Master data in
1-data Hib
2-model 1
now i would like to do same action but want to send this is 2 additionals models so basically:
1-data Hib
2-model 1
3-model 2
4-model 4.
our anaplan architecture is build with these 3 models.
step1 and 2 are ok, but look like 3 and 4 are not running - so nothing new compare to old logic
my batch job is the following:
@echo off
rem *** End of settings - Do not edit below this line ***
rem *** Data Hub ***
set FexFolder=%1
set FileName=%~2
set AnaplanUser="xxx"
set WorkspaceId="WP for datahub"
set ModelID="Data Hub"
set Operation=-certificate ".\certificate-xxxx" -file "Product Hierarchy Load.csv" -put "\\gva.data\fex\%FexFolder%\USA\Anaplan\Master Data\Inbox\%FileName%" -process "Load Product Hierarchy" -execute -output "\\gva.data\fex\%FexFolder%\USA\Anaplan\Archive\Load_Product_Hierarchy_Errors_Step1"
rem *** End of settings - Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
pushd %~dp0
if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation%
@echo %Command%
cmd /c %Command% >
rem pause
@echo off
rem *** model 1 ***
set AnaplanUser="xxxx"
set WorkspaceId="WP"
set ModelId="model1"
set Operation=-certificate ".xxxxxx" -process "Load Product Hierarchy" -execute -output "\\gva.data\fex\%FexFolder%\USA\Anaplan\Archive\Load_Product_Hierarchy_Errors_Step2"
@echo off
set AnaplanUser="xxxx"
set WorkspaceId="WP"
set ModelId="model2"
set Operation=-certificate xxxxxx -process "Load Product Hierarchy" -execute -output "\\gva.data\fex\%FexFolder%\USA\Anaplan\Archive\Load_Product_Hierarchy_Errors_Step3"
@echo off
set AnaplanUser="xxxxx"
set WorkspaceId="WP"
set ModelID="model3"
set Operation=-certificate ".\xxxxxx" -process "Load Product Hierarchy" -execute -output "\\gva.data\fex\%FexFolder%\USA\Anaplan\Archive\Load_Product_Hierarchy_Errors_Step4"
rem *** End of settings - Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
pushd %~dp0
if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser%
set Command=.\AnaplanClient.bat %Credentials% -workspace %WorkspaceId% -model %ModelId% %Operation%
@echo %Command%
cmd /c %Command%
exit /b
so if you can help me with follwing information:
1- is thta posible to call severla model from 1 batch job
2- if possible how to write the batch...
currently the step 3 and 4 are not running for me.
thanks