how create a freemarker function for to a process and nested subprocess?

88 views
Skip to first unread message

raul.ro...@seidor.cl

unread,
Jul 13, 2016, 1:57:50 PM7/13/16
to Fujitsu RunMyProcess Developer Community
how create a freemarker function for to a process and nested subprocess?

raul.ro...@seidor.cl

unread,
Jul 13, 2016, 1:59:45 PM7/13/16
to Fujitsu RunMyProcess Developer Community, raul.ro...@seidor.cl
El miércoles, 13 de julio de 2016, 13:57:50 (UTC-4), raul.ro...@seidor.cl escribió:
> how create a freemarker function for to a process and nested subprocess?
visible for all a process and nested process

Pray Desai

unread,
Jul 13, 2016, 2:20:37 PM7/13/16
to Fujitsu RunMyProcess Developer Community, raul.ro...@seidor.cl
Hi Raul,

What freemarker function are you looking for ? You just need to define it in a process variable. If you have a nested subprocess, the process variable will be shared with it.

Regards,
Pray Desai,
Fujitsu RunMyProcess.

Raul Rodriguez

unread,
Jul 13, 2016, 2:48:34 PM7/13/16
to Pray Desai, Fujitsu RunMyProcess Developer Community

I wanted to create getNextSequence function (auto incrementing field) for mongoDB 
attached link "https://docs.mongodb.com/v3.0/tutorial/create-an-auto-incrementing-field/"


--
Raúl Rodríguez
Consultor
http://www.seidor.cl

Tel:-------------------

Móvil:+56 (9) 81767791
Av. Holanda 099, Of 303
Providencia, Santiago
Chile



Antes de imprimir este mensaje, asegúrese de que sea imprescindible. Proteger el medio ambiente está a nuestro alcance.

 

 

 

 

 

 

 

La información que contiene este correo electrónico es confidencial y compete exclusivamente al destinatario. Si Ud ha recibido esta comunicación por error, por favor, notifíquelo inmediatamente al remitente y borre el mensaje junto con sus ficheros anexos sin leerlo, copiarlo, grabarlo, distribuirlo o divulgarlo o hacer cualquier otro uso de la información sin el consentimiento de la empresa. El correo electrónico vía Internet no permite asegurar la confidencialidad o correcta recepción de los mensajes, por lo que Seidor  no asume responsabilidad alguna por los daños causados.

The information contained in this communication is confidential, may be privileged and is intended for the exclusive use of the above named addressee. If you receive this communication in error, please notify the sender immediately and delete it, and all its attached documents. If you are not the intended recipient, you are expressly prohibited from reading, copying, distributing, disseminating or, in any other way, using any of the information without the company consent. Please note that Internet e-mail guarantees neither the confidentiality nor the proper receipt of the message sent, so that Seidor shall not be liable for any damages caused.

Raul Rodriguez

unread,
Jul 13, 2016, 3:12:33 PM7/13/16
to Pray Desai, Fujitsu RunMyProcess Developer Community
Dear
next
​ example does not work​


Imágenes integradas 2

Imágenes integradas 3
how saved the function in process variable?




Pray Desai

unread,
Jul 15, 2016, 1:56:40 PM7/15/16
to Raul Rodriguez, Fujitsu RunMyProcess Developer Community
Hi Raul,

We have a freemarker function next_value() to auto-increment a field. You can refer its documentation :
https://docs.runmyprocess.com/API_Reference/FM/Request.html#next_value

Regards,
Pray Desai,
Fujitsu RunMyProcess.

Reply all
Reply to author
Forward
0 new messages