Page 1 of 1

Troubles with alfresco trigger

Posted: Wed May 18, 2016 4:15 am
by taysouf
Hello guys i hope you are doing fine , i am new with process maker 3.0.1 ... i want to make a connection between processMaker and Alfresco Community via alfresco trigger on ProcessMaker , i want to upload a file from process maker to alfresco repository , i tried to fill the form of the trigger
(url server file name source .....) , but still not working , it keeps telling me file not found hope you help me guys i really appreciate it .
Thanks in advance .
Cordially TAYANE Soufiane .

Re: Troubles with alfresco trigger

Posted: Mon May 23, 2016 10:16 pm
by amosbatto
I don't have Alfresco installed to try it, but I see that the description of the first parameter is wrong in the trigger wizard. See:
http://wiki.processmaker.com/index.php/ ... dDoc.28.29

The first parameter is the URL where the Alfresco server is located, so you should enter something like:
http://www.example.com/alfresco
or:
http://localhost:8500/alfresco

Re: Troubles with alfresco trigger

Posted: Wed May 25, 2016 5:29 am
by taysouf
i tried what u told me , but it keeps telling me file not found , i want an example of the value of these 2 parameters,
"$fileSource" and " $docType" , thank you a lot for your answer and your time .

Re: Troubles with alfresco trigger

Posted: Tue May 31, 2016 11:23 pm
by amosbatto
For $fileSource, try something like "@C:\Users\Bob\MyDocuments\myphoto.png" where the file is located that you want to upload. I think that you have to add the @ to get it to upload. If that doesn't work, then try "C:\Users\Bob\MyDocuments\myphoto.png" .

For the $docType, that is probably defined inside Alfresco. Sorry, I don't have Alfresco installed, but you should check the Alfresco API, because all of this is probably explained there.