Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I'm a newbie and I'm using QlikView Version:10.00.9086.7 with Publisher.
I need to call in sequence, after the previous success, n-task using the parameters received by HTTP- GET (I developed a java servlet)
and sharing parameters between tasks.
I don't know when the requests come so I need to manage concurrent requests.
For every request I have to call a sequence of task (always the same) but giving them different param value.
(...I'm using qvw document to do ETL)
I receive a HTTP-GET (ex, shop=1&month=01), I call the task1_edx using the POST concatenating a and b value
Parameter Input: shop:1 - month:01,
...shop:2 - month:01....
ex:
<Global method="RequestEDX" key="YOUR_EDX_KEY">
<i_TaskIDOrTaskName>MyTask</i_TaskIDOrTaskName>
<i_Password>EDX_PWD</i_Password>
<i_VariableName>testvar</i_VariableName>
<i_VariableValueList>
<string>1_10</string> (I'll use subfield...)
</i_VariableValueList>
</Global>
Flow:
Document1 -task EDX with variable:shop1_month1
-->(success)-->
Document2-task EDX with same variable:shop1_month1
-->(success)-->
Document3-task EDX with same variable:shop1_month1.....
I want to call the first task with my servlet, than using dependencies and trigger for the other three task but I need to pass the initial variable between them.
It seems that it is not possible.
(Document1 -task_shop1, Document1 -task_shop2, Document1 -task_shop3....)
If I can't pass variable between tasks I can make my four calls in my servlet
but I need to test the status value in order to call the next task.
I need to poll while TaskIsAlreadyRunning (3) before start with the next EDX Call.
Do you have any suggestions or comments?
Thanks in advance
Mary