script with templates strings

630 views
Skip to first unread message

sergio...@gigas.com

unread,
Nov 2, 2017, 12:07:19 PM11/2/17
to Fujitsu RunMyProcess Developer Community
Hi team, i have tis problem:

i can ejecute this script in the console of navigator with mi web interface of gflow, but when i use this script why a script in run my process this not can ejecute.

My question is run my process web interfaces can use templates strings of javascript? this is my script

//recorremos el numero de dcs seleccionado
var cantidadDcsSeleccionados = RMPApplication.get('cantidad_de_servidores_hidden');
for (var i = 1; i <= cantidadDcsSeleccionados; i++){
//si uno de los dcs no tiene cores completados
if((JSON.parse(RMPApplication.get(`dc${i}`)).numero_de_vcores_amd == "" || JSON.parse(RMPApplication.get(`dc${i}`)).numero_de_vcores_amd == undefined) && (JSON.parse(RMPApplication.get(`dc${i}`)).numero_de_vcores_intel == "" ||JSON.parse(RMPApplication.get(`dc${i}`)).numero_de_vcores_intel == undefined) && (JSON.parse(RMPApplication.get(`dc${i}`)).numero_de_vcores_intel_oracle_sin_licencia == "" || JSON.parse(RMPApplication.get(`dc${i}`)).numero_de_vcores_intel_oracle_sin_licencia == undefined )){
alert(`Es necesario completar algún campo de vcores del servicio ${i}`);
}
//si uno de los dcs no tiene completo ningun campo de discos duros
if((JSON.parse(RMPApplication.get(`dc${i}`)).disco_ssd == "" || JSON.parse(RMPApplication.get(`dc${i}`)).disco_ssd == undefined) && (JSON.parse(RMPApplication.get(`dc${i}`)).disco_sas == "" ||JSON.parse(RMPApplication.get(`dc${i}`)).disco_sas == undefined) && (JSON.parse(RMPApplication.get(`dc${i}`)).disco_sata == "" || JSON.parse(RMPApplication.get(`dc${i}`)).disco_sata == undefined )){
alert(`Es necesario completar algún campo de discos duros del servicio ${i}`);
}
if(JSON.parse(RMPApplication.get(`dc${i}`)).memoria == "" || JSON.parse(RMPApplication.get(`dc${i}`)).memoria == undefined){
alert(`Es necesario completar el campo memoria del servicio ${i}`);
}
}


Thank you

shraddhap...@gmail.com

unread,
Nov 15, 2017, 1:40:04 AM11/15/17
to Fujitsu RunMyProcess Developer Community, sergio...@gigas.com, suppor...@runmyprocess.com
Hi Sergio

Apologies for late reply.

Could you please elaborate your requirement?

It would be better, if you provide the web interface screenshot and screenshot of the error you are getting so that we can assist you on this issue.

Please feel free to contact us.

Regards,
Shraddha Pangantiwar
RunMyProcess Support

Prachi Chandak

unread,
Nov 16, 2017, 12:24:47 PM11/16/17
to sergio...@gigas.com, Fujitsu RunMyProcess Developer Community
Hi Sergio

Can you please elaborate your requirement?

Thanks & Regards,
Prachi Chandak
Fujitsu RunMyProcess Support


--
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+unsubscribe@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/1a046cfc-b9e4-4a79-ba17-c5d6b3349c58%40runmyprocess.com.

Dipen Raval

unread,
Nov 18, 2017, 2:32:42 AM11/18/17
to Fujitsu RunMyProcess Developer Community, sergio...@gigas.com
Hi Sergio,

Awaiting for your response.

Thanks & Regards,
Dipen Raval
Fujitsu RunMyProcess Support

shraddhap...@gmail.com

unread,
Nov 21, 2017, 2:32:21 AM11/21/17
to Fujitsu RunMyProcess Developer Community, sergio...@gigas.com, suppor...@runmyprocess.com
Hi Sergio

Good day.

Awaiting for your response.

sergio...@gigas.com

unread,
Nov 28, 2017, 12:14:30 PM11/28/17
to Fujitsu RunMyProcess Developer Community, sergio...@gigas.com, suppor...@runmyprocess.com, shraddhap...@gmail.com
hi partners

finally i test this and rmp cant run template strings on web interface

Thank you for all

Reply all
Reply to author
Forward
0 new messages