Timer task

262 views
Skip to first unread message

ideasandinno...@gmail.com

unread,
Jul 9, 2014, 1:51:59 AM7/9/14
to suppor...@runmyprocess.com
Hi

I need to fire a mail 3 times with 5 minutes delay between each mail. I have used timer task to do this. But it is not working accordingly. I am attaching screenshots from the process. Should I include any output parameters inside the intermediate timer event?

timer1.png
timer2.png

Bidisha Das

unread,
Jul 9, 2014, 4:05:10 AM7/9/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Hi,
I have attached a screenshot of a demo process as to how you can use an intermediate timer with email activity.

       In the screenshot,  
  • Add output variable as no = 1 to the first activity "Initialise Count".
  • First gateway is a Join X-OR.
  • Second activity
  • Second Gateway is Spilt X-OR with condition now = no?number==3 and next = default
  • Add output variable as no = ${no?number+1} in the last activity "Sum up the count".
  • I have set 5 mins time period in the Timer.
 Please follow similar approach in your process too.Don't attach timer in the email activity beacuse this way,it works only for manual activity.Add a timer separately as I have shown in the screenshot.Hope it helps.In case of any other query regarding this,you can contact back.

Thanks & Regards
Bidisha                           



Screenshot_Timer.png

Bidisha Das

unread,
Jul 9, 2014, 4:09:35 AM7/9/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Hi,
Second activity is an email activity.

Thanks

ideasandinno...@gmail.com

unread,
Jul 9, 2014, 4:20:41 AM7/9/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Hi

Can you screenshot me the input and output variables of all activities?

thanks

Bidisha Das

unread,
Jul 9, 2014, 4:46:14 AM7/9/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Hi ,
I have already mentioned about all the activities in my post above.I have attached the screenshots below.Please have a look & let me know if you got it.

Thanks & Regards
Bidisha
Screenshot_1st activity.png
Screenshot_2nd Gateway.png
Screenshot_Last activity.png

ideasandinno...@gmail.com

unread,
Jul 9, 2014, 5:23:28 AM7/9/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Hi

Thanks for your responds. It is actually working this time. However I also added my email address in the mail activity. But I am not getting any mail. The mail is being sent only to ${P_initiator.login}. Please find attachment.

thanks and regards

mail.png

Sweta Suman

unread,
Jul 9, 2014, 5:41:57 AM7/9/14
to suppor...@runmyprocess.com
Hi,

Mail will be sent only to initiator in case of "Test" mode. For "Acceptance" or "Live" Mode, even if it's another person specified in the "To" field (or in the CC or the Bcc) they will be receiving the email. Make sure,email addresses in "To" field must be separated by commas (ad...@domain.com,ad...@domain.com).

Thanks and Regards,
Sweta



--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" 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 http://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/a3e196fd-c673-469e-8b09-6748bfd9c783%40runmyprocess.com.

ideasandinno...@gmail.com

unread,
Jul 9, 2014, 5:45:43 AM7/9/14
to suppor...@runmyprocess.com
Hi

Thank you for the info:)

Regards

ideasandinno...@gmail.com

unread,
Jul 9, 2014, 7:23:42 AM7/9/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Hi
I have used a collection named user for autocomplete process. The colection have 3 fields
1. customer code no
2. customer name
3. address
The datas are fetched from google spreadsheet to the collection. I have used a code as given below.

<#assign object>
{
"customername":"${result[P_index].customername?default("")}",
"customercodeno":"${result[P_index].customercodeno?default("")}",
"address":"${result[P_index].address?default("")}"
}
</#assign>
${save_object(object,"user")}


The collection is put inside a loop with Array ${result}

The collection will throw out an error whenever the spreadsheet is empty. How can I fix this issue?
Please find attachments

collection code.png
collection process.png
error.png

ideasandinno...@gmail.com

unread,
Jul 10, 2014, 2:48:45 AM7/10/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Hi

Could anyone help me to solve the issue?
I am stuck with this for more than two days

Richard Manga

unread,
Jul 10, 2014, 4:23:02 AM7/10/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Good morning,

The error you have means that the content of the variable result is not an array.

Please, copy and send me the content of the variable result as text (not as image). I will help you to solve 

the issue with an appropriate freemarker code.

Regards,

Richard MAnga




--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" 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 http://groups.google.com/a/runmyprocess.com/group/supportforum/.
Message has been deleted

Richard Manga

unread,
Jul 10, 2014, 8:30:03 AM7/10/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Hi,

Please can you give me access to your process?

The address that should have access is: rmanga...@runmyprocess.com

To give me access, just follow the instructions in the link below:


Please give me also the following information:

email address of the account that you use to developt.

Project name

Process name

Regards,

Richard


2014-07-10 12:44 GMT+02:00 <ideasandinno...@gmail.com>:
Hi

The content in result have the following values:

customername: vysakh, address: lucknow, customertype: School, vehicletype: Lorry, noofdevicesrequired: 22, contactnumber: 3333, emailaddress: v...@a.com

Thanks


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" 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 http://groups.google.com/a/runmyprocess.com/group/supportforum/.
Message has been deleted
Message has been deleted

Richard Manga

unread,
Jul 10, 2014, 11:59:01 AM7/10/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Hi, 

Please can you confirm that the problem has been solved?

The issue was the way you were building your result variable: I modified it with the following code:

${P_to_array(P_result.feed,"entry")}

The syntax means: take all the element under "entry" and make an array.

If you have any other question, please contact us.

Regards,

Richard




2014-07-10 15:07 GMT+02:00 <ideasandinno...@gmail.com>:
Hi

Forget about email address
jacob...@gmail.com

On Thursday, July 10, 2014 6:36:06 PM UTC+5:30, ideasandinno...@gmail.com wrote:
> Hi
>
> I have given you access to my project. Please help me ASAP
>
> Project name: ERP
> Process name: Customer enrolment
>
> thanks and regards


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" 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 http://groups.google.com/a/runmyprocess.com/group/supportforum/.

ideasandinno...@gmail.com

unread,
Jul 11, 2014, 12:11:32 AM7/11/14
to suppor...@runmyprocess.com
Hi

Thanks Richard.
The problem has been solved. Thank you very much.

Regards

ideasandinno...@gmail.com

unread,
Jul 11, 2014, 1:16:59 AM7/11/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Hi

I have one more issue. I am using a loop to update certain data into spreadsheet. All the fields in the loop are not mandatory. However, I am forced to enter all the fields to avoid error. This is the code that I have used in the loop to update the spreadsheet.

<gsx:slno>${Orderarray.slNo[P_index]?default("")}</gsx:slno>
<gsx:devicetype>${Orderarray.device_type[P_index]?default("")}</gsx:devicetype>
<gsx:quantity>${Orderarray.quantity[P_index]?default("")}</gsx:quantity>
<gsx:unitprice>${Orderarray.unitprice[P_index]?default("")}</gsx:unitprice>
<gsx:taxrate>${Orderarray.taxrate[P_index]?default("")}</gsx:taxrate>
<gsx:totalbilling>${Orderarray.total[P_index]?default("")}</gsx:totalbilling>
<gsx:instcharges>${Orderarray.instlln_charges_device[P_index]?default("")}</gsx:instcharges>
<gsx:servicetaxrate>${Orderarray.service_tax_rate[P_index]?default("")}</gsx:servicetaxrate>
<gsx:totamt>${Orderarray.amount[P_index]?default("")}</gsx:totamt>
<gsx:subscriptionrate>${Orderarray.subscription_rate[P_index]?default("")}</gsx:subscriptionrate>
<gsx:subscriptiontax>${Orderarray.tax[P_index]?default("")}</gsx:subscriptiontax>

Can you solve this too?
Project name: ERP
Process name: Sales process new

Thanks and regards

pic.png
pic1.png
pic2.png
Message has been deleted

Richard Manga

unread,
Jul 11, 2014, 10:46:30 AM7/11/14
to suppor...@runmyprocess.com, ideasandinno...@gmail.com
Hi, 

The connector "Get rows matching a criteria [v3]" returns the following xml:

which data do you want to extract from this XML in order to use it in the next task?.

Regards,

Richard

<?xml version='1.0' encoding='UTF-8'?>
<author><name>ideasandinnovationsqured</name><email>ideasandinno...@gmail.com</email></author>
<openSearch:totalResults>1</openSearch:totalResults>
<openSearch:startIndex>1</openSearch:startIndex>
<entry gd:etag='&quot;VQdTRH87ICt7ImBtGRABFRQ.&quot;'><id>https://spreadsheets.google.com/feeds/list/14SJ3aG8uIZtD2q0xCFOaLHJjsSeQJLUgRSrP39YoQng/od6/cokwr</id><updated>2014-07-11T14:36:17.702Z</updated>
<app:edited xmlns:app='http://www.w3.org/2007/app'>2014-07-11T14:36:17.702Z</app:edited>
<category scheme='http://schemas.google.com/spreadsheets/2006' term='http://schemas.google.com/spreadsheets/2006#list'/><title>4</title><content>customername: vysakh, address: kerala, orderno: 222, status: Accept</content><link rel='self' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/list/14SJ3aG8uIZtD2q0xCFOaLHJjsSeQJLUgRSrP39YoQng/od6/private/full/cokwr'/><link rel='edit' type='application/atom+xml' href='https://spreadsheets.google.com/feeds/list/14SJ3aG8uIZtD2q0xCFOaLHJjsSeQJLUgRSrP39YoQng/od6/private/full/cokwr'/>
<gsx:customercodeno>4</gsx:customercodeno><gsx:customername>vysakh</gsx:customername><gsx:address>kerala</gsx:address><gsx:pincode></gsx:pincode><gsx:city></gsx:city><gsx:state></gsx:state><gsx:customertype></gsx:customertype>
<gsx:vehicletype></gsx:vehicletype><gsx:noofdevicesrequired></gsx:noofdevicesrequired><gsx:contactperson></gsx:contactperson><gsx:contactnumber></gsx:contactnumber><gsx:emailaddress></gsx:emailaddress><gsx:requiredinstallationdate></gsx:requiredinstallationdate><gsx:devicetype></gsx:devicetype><gsx:featuresoptedfor></gsx:featuresoptedfor><gsx:agencynamecode></gsx:agencynamecode><gsx:amountcollected></gsx:amountcollected><gsx:paymentmode></gsx:paymentmode><gsx:paymentreceiptno></gsx:paymentreceiptno><gsx:orderno>222</gsx:orderno>
<gsx:tinno></gsx:tinno><gsx:vatno></gsx:vatno><gsx:panno></gsx:panno><gsx:shippingaddress></gsx:shippingaddress><gsx:billingaddress></gsx:billingaddress>
<gsx:status>Accept</gsx:status></entry></feed>







2014-07-11 12:22 GMT+02:00 <ideasandinno...@gmail.com>:
Hey Richard

Can you help me to solve the issue?


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" 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 http://groups.google.com/a/runmyprocess.com/group/supportforum/.
Reply all
Reply to author
Forward
0 new messages