Pass information from a process variable to the attributes of my BDM

1
0
-1

I need to save the contents of my process variable to the attributes I created in my BDM, how can I do this?

Link para o arquivo .bos: https://drive.google.com/file/d/0B8aMiLwwVY0nNGtHcXVRVDdaQ0U/view?usp=sh...

2 answers

1
+1
-1
This one is the BEST answer!

In code do this

myBDM.setAttribute() = processVariable;

Regards
Seán

Comments

Submitted by romualdo.s.rs on Fri, 02/03/2017 - 13:18

Thanks for the return, so how did you indicate I can do in an output connector with a Groovy script? And another thing, my process variable is List type, can I do it the same way you indicated?

1
0
-1

Olá romualdo.s.rs!

Você deve utilizar as operações (Operations) que são listadas na aba Execution (Execução) em cada tarefa do seu processo.
Aí funciona como uma operação normal de programação em Java:
objeto.setAtributo(variável), porém da maneira do Bonita:

view?usp=sharing

Abraços!
Marcos Vinícius Pinto

Notifications