Troubles with alfresco trigger

Tutorials and guides contributions

Moderator: amosbatto

taysouf
Posts: 2
Joined: Wed May 18, 2016 4:03 am
Country: Morocco

Troubles with alfresco trigger

Unread postby taysouf » Wed May 18, 2016 4:15 am

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 .

amosbatto
Posts: 5465
Joined: Mon Jun 22, 2009 10:28 am
Country: Bolivia
Location: La Paz

Re: Troubles with alfresco trigger

Unread postby amosbatto » Mon May 23, 2016 10:16 pm

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
Amos B. Batto ♦ ProcessMaker Technical Documentation Writer & Forum Manager ♦ Cofounder of ILLA (http://www.illa-a.org)

taysouf
Posts: 2
Joined: Wed May 18, 2016 4:03 am
Country: Morocco

Re: Troubles with alfresco trigger

Unread postby taysouf » Wed May 25, 2016 5:29 am

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 .

amosbatto
Posts: 5465
Joined: Mon Jun 22, 2009 10:28 am
Country: Bolivia
Location: La Paz

Re: Troubles with alfresco trigger

Unread postby amosbatto » Tue May 31, 2016 11:23 pm

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.
Amos B. Batto ♦ ProcessMaker Technical Documentation Writer & Forum Manager ♦ Cofounder of ILLA (http://www.illa-a.org)


Return to “Documentation”

Who is online

Users browsing this forum: No registered users and 1 guest