How to change the acces to an image from private to public, programatically

395 views
Skip to first unread message

J.M.

unread,
Oct 8, 2015, 2:49:39 AM10/8/15
to Fujitsu RunMyProcess Developer Community
Hi,

I have a process, in which there are a couple of activities that works with images. Both of them are WI: in the first one, the user can upload an image, and in the other one it is shown to another user.

My WI has private access, and the image has private access too when it is uploaded. When the other user needs to watch it, the image is not shown, and I've tried to change manually the access to the image from private to public, and I've got the other user can see the image.

So...

How can I change the access to the image from private to public, programatically?

Thanks in advance and regards.

Murali

unread,
Oct 8, 2015, 3:04:03 AM10/8/15
to Fujitsu RunMyProcess Developer Community, javiermm...@gmail.com
Hi Javier,

Please update the file access using the free marker function 'save_file_desc' in a process variable IN/OUT.

Ref: http://docs.runmyprocess.com/Developer_Guide/Process/Freemarker_Examples/File_Visibility

Hope this helps.

Regards,
Murali
Reply all
Reply to author
Forward
0 new messages