how i can get the url of a csv file stored in RMP

286 views
Skip to first unread message

scu...@masanalytics.com

unread,
Apr 18, 2016, 4:02:57 PM4/18/16
to Fujitsu RunMyProcess Developer Community
My question is how i can get the url of a csv file stored in RMP and send via mail.

Thanks!

Pankaj Kumar

unread,
Apr 19, 2016, 3:16:56 AM4/19/16
to Fujitsu RunMyProcess Developer Community
Hi,

To access the file on RMP server, you need to have file id of the uploaded file or file created dynamically using free marker function create_file.o

To access file, url of the file is as follows:-


To attach a file, you need to give the "file id" in email "attached file" text box. 


Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

On Tue, Apr 19, 2016 at 1:32 AM, <scu...@masanalytics.com> wrote:
My question is how i can get the url of a csv file stored in RMP and send via mail.

Thanks!

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/62e0d227-62f6-4a4d-8d32-f56aa00cced6%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

scu...@masanalytics.com

unread,
Apr 19, 2016, 11:20:14 AM4/19/16
to Fujitsu RunMyProcess Developer Community
Thanks pankaj, i have an example with a pdf file (pdf result id.png)... My question is, is the same to an excel file?? i mean ${P_result.id} in the output brings me the id of the excel file generated in that process?

Thanks!!

pdf result id.png

Pankaj Kumar

unread,
Apr 20, 2016, 4:19:04 AM4/20/16
to Fujitsu RunMyProcess Developer Community
Hi,

Yes, ${P_result.id} will give the id of the generated file.

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

On Tue, Apr 19, 2016 at 8:50 PM, <scu...@masanalytics.com> wrote:
 Thanks pankaj, i have an example with a pdf file (pdf result id.png)... My question is, is the same to an excel file?? i mean ${P_result.id} in the output brings me the id of the excel file generated in that process?

Thanks!!
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.

scu...@masanalytics.com

unread,
Apr 22, 2016, 9:30:50 AM4/22/16
to Fujitsu RunMyProcess Developer Community
Hi, i have this error (attached images with process) ... I think the problem is cause the file is "Private" ... In this case, how i can set file Public when its generated ???

excel1.png
excel2.png
excel3.png

Pankaj Kumar

unread,
Apr 23, 2016, 3:40:01 AM4/23/16
to Fujitsu RunMyProcess Developer Community
Hi,

You are using 

File  =  ${create_file("PruebaCSV.csv", "${Datos}")}

create_file method return the created file. so variable "File" gives you the id of file. Kindly update your code accordingly.

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

On Fri, Apr 22, 2016 at 7:00 PM, <scu...@masanalytics.com> wrote:
Hi, i have this error (attached images with process) ... I think the problem is cause the file is "Private" ... In this case, how i can set file Public when its generated ???
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.

scu...@masanalytics.com

unread,
Apr 26, 2016, 10:02:47 AM4/26/16
to Fujitsu RunMyProcess Developer Community
Thanks Pankaj for your help, it works ! :)
Reply all
Reply to author
Forward
0 new messages