10-04-2012 10:53 AM
I have a problem with an automation chain that I want to create.
This automation chain is created in order to find documents in section by using specifcs right access of a login passed in parameters.
It must do following steps :
This automation chain will be called by a php automation client.
My problems is :
Thank you in advance
10-05-2012 06:40 AM
Hi, I m using the Context variable for such an operation chain :
It s called this way from PHP :
$client = new NuxeoPhpAutomationClient(NUXEO_AUTOMATION_URL);
$session = $client->getSession(NUXEO_AUTOMATION_USER, NUXEO_AUTOMATION_PASSWD);
$session->newRequest("Chain.remove_all_docs")->set('params', 'doc_id', $id)->sendRequest();
10-05-2012 06:40 AM
Hi, I m using the Context variable for such an operation chain :
It s called this way from PHP :
$client = new NuxeoPhpAutomationClient(NUXEO_AUTOMATION_URL);
$session = $client->getSession(NUXEO_AUTOMATION_USER, NUXEO_AUTOMATION_PASSWD);
$session->newRequest("Chain.remove_all_docs")->set('params', 'doc_id', $id)->sendRequest();
10-05-2012 08:36 PM
Thanks for this well laid-out answer pibou
10-05-2012 02:15 PM
Thanks for your answer, it works.