jorge_morales
(jorge Ivan morales Sarmiento)
December 18, 2023, 3:51pm
1
Buen dia,
Me podrian ayudar con la siguiente inquietud estoy haciendo una automatizacion donde estoy agregando un trhow para que me arroje error, pero al pasar el error y salir del workflow trabajado quedan las variables nulas como veremos acontinuacion
en esta imagen vemos que la variable out_Nombre trae el respectivo nombre que mas adelante voy a necesitar.
en la siguiente imagen vamos a evidenciar que tomo el throw y todavia tiene la variable
pero despues de terminar el workflow al salir que da de las siguiente manera
al salir las variables quedan nulas
Hay una posibilidad que despues de que tome el error siga teniendo los datos como se podrias hacer
gracias un sld
Anil_G
(Anil Gorthi)
December 18, 2023, 3:55pm
2
@jorge_morales
Basically arguments will not be passed out when an error is thrown
Try adding a datatable or dictionary and check that should work
Else…add an asset and write the value to the asset once retreived and use get asset before using in the outer workflow
Else …use a global variable if on windows project
Else use a try catch and in catch you can add the values to the exception variable and then use them outside
These are few of the options when throwing error
Cheers
jorge_morales
(jorge Ivan morales Sarmiento)
December 18, 2023, 4:11pm
3
me podrias ayudar con un ejemplo que pena contigo
mil disculpas
Anil_G
(Anil Gorthi)
December 18, 2023, 6:11pm
4
@jorge_morales
For which one of the above you want to try?
Cheers
jorge_morales
(jorge Ivan morales Sarmiento)
December 18, 2023, 6:13pm
5
como seria el de global variable y el de try catch
Anil_G
(Anil Gorthi)
December 18, 2023, 6:17pm
6
@jorge_morales
Global varible is something you need to create from data manager
Studio - Managing Variables .
Cheers
jorge_morales
(jorge Ivan morales Sarmiento)
December 18, 2023, 11:05pm
7
pero tengo la siguiente pregunta a mi no me aparece el administrador de tareas hay otra manera de hacerla o crearla
system
(system)
Closed
February 13, 2024, 11:15pm
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.