Move files in Google apps and a couple of another questions

41 views
Skip to first unread message

Herman Jonsson

unread,
Dec 7, 2011, 6:50:45 AM12/7/11
to runmyp...@googlegroups.com
Hi,
Q1: in the Google Documents connector I find the "Move word document/spreadsheet/presentation out of/into a folder" connector. Are these the only files that I can move? I'm intrested in moving any file with any extension, is there any connector for this task? If not, how would you recommend to proceed?

Q2: I was in contact with Firas regarding subprocess-update of Measurement variables which are defined in the father process. My issue is that in a WI report, the Measurement variables are blank - they don't exist. The recommendation was to wait 30sec. but I can't see that they get updated. Only measurement variables that I declare once more in the subprocess gets updated and are visible in the WI (web interface) report. If I multiply the number of measurement variables with the number of subprocesses - there will be a lot of tipping and prone to error. Any suggestions on how to solve this issue?

Q3: ${P_result.folder_id} never gets created when I create a folder. So this variable cannot be used as stated in the connector description. However, I found a workaround where I use ${P_result.entry.resourceId} instead. Works fine if you remove the "folder:"-part. Maybe I did something wrong, but I really think you should change the connection description. I spent a lot of time as newbie figuring this out. 

Q4: I have variable which I use throughout the process as a status variable - it displays the user what to do. I usually update the value of the variable in the Input-section of the task. However, I found that when I leave a subprocess and jump to the task in the father-process, the old value will be displayed in the WI text-area. The curious thing is that when I look at the process value of the variable - it is correct, it only displays the old value. I solved it through a dummy-task previous to the actual manual task where I define the value of the variable. Looks stupid, but works. Any suggestion on how to make it more clean and get rid of the dummy-task?

--
Best regards
Herman Jonsson

Alexandre Lachmann

unread,
Dec 7, 2011, 8:54:43 AM12/7/11
to runmyp...@googlegroups.com

Hi Herman

My response in blue

Regards

Alex

 

De : runmyp...@googlegroups.com [mailto:runmyp...@googlegroups.com] De la part de Herman Jonsson
Envoyé : mercredi 7 décembre 2011 12:51
À : runmyp...@googlegroups.com
Objet : Move files in Google apps and a couple of another questions

 

Hi,

Q1: in the Google Documents connector I find the "Move word document/spreadsheet/presentation out of/into a folder" connector. Are these the only files that I can move? I'm intrested in moving any file with any extension, is there any connector for this task? If not, how would you recommend to proceed?

I think you can move any document since this service just use doc id and does not care about type

 

Q2: I was in contact with Firas regarding subprocess-update of Measurement variables which are defined in the father process. My issue is that in a WI report, the Measurement variables are blank - they don't exist. The recommendation was to wait 30sec. but I can't see that they get updated. Only measurement variables that I declare once more in the subprocess gets updated and are visible in the WI (web interface) report. If I multiply the number of measurement variables with the number of subprocesses - there will be a lot of tipping and prone to error. Any suggestions on how to solve this issue?

Use a nested process when calling subprocess and define measure in your main process

 

Q3: ${P_result.folder_id} never gets created when I create a folder. So this variable cannot be used as stated in the connector description. However, I found a workaround where I use ${P_result.entry.resourceId} instead. Works fine if you remove the "folder:"-part. Maybe I did something wrong, but I really think you should change the connection description. I spent a lot of time as newbie figuring this out. 

Yes Google has modify their API results so our parsing script (output script in service) is outdated

 

Q4: I have variable which I use throughout the process as a status variable - it displays the user what to do. I usually update the value of the variable in the Input-section of the task. However, I found that when I leave a subprocess and jump to the task in the father-process, the old value will be displayed in the WI text-area. The curious thing is that when I look at the process value of the variable - it is correct, it only displays the old value. I solved it through a dummy-task previous to the actual manual task where I define the value of the variable. Looks stupid, but works. Any suggestion on how to make it more clean and get rid of the dummy-task?

Variable of son process are not sent to father process unless you choose nested process or inject result. If everything is well configured, you can have this type of issue with parallel branches : variable displayed is local to the parallel branch (look P_branches_xx.yyyy)

Does it help you ?

Regards

Alex

 

--
Best regards
Herman Jonsson

--
You received this message because you are subscribed to the Google Groups "RunMyProcess" group.
To post to this group, send email to runmyp...@googlegroups.com.
To unsubscribe from this group, send email to runmyprocess...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/runmyprocess?hl=en.

edel...@bammtech.cl

unread,
May 2, 2013, 4:44:48 PM5/2/13
to runmyp...@googlegroups.com, herman....@ripassoenergy.com
Hello, how can fix the problem with Folder ID?

I cant move a document, because resourceid bring me something like this:   folder:3fiefhjb... if take out this i can use the conector move.. help me please to take out folder from P_result response.

Atte
Reply all
Reply to author
Forward
0 new messages