Service Bridge - Remote Tasks not populating virtual inbound varibles

Thomas Geesman
Tera Contributor

Inbound virtual variables seem very help for populating fields that a consumer does not directly have. For example, I am setting the assignment group based on a virtual variable. It sets my target variable just fine, it never reflects that variable on remote task. It just shows the virtual inbound variable as empty. Is there a way to populate the value on that inbound virtual variable?

 

remote task.png

 

 

 

 

transform.png

1 ACCEPTED SOLUTION

Kenny Caldwell
ServiceNow Employee
ServiceNow Employee

Hi Thomas,

Set the output.label to the value that the you want to display in the inbound variable. The variables are just string fields and can only hold one value so they don't have a display value and value.

 

The variable will display what is in output.label but will use output.value when setting the target field.

 

output.value = 'your sys_id value';

output.label = 'Your Display Value';

View solution in original post

1 REPLY 1

Kenny Caldwell
ServiceNow Employee
ServiceNow Employee

Hi Thomas,

Set the output.label to the value that the you want to display in the inbound variable. The variables are just string fields and can only hold one value so they don't have a display value and value.

 

The variable will display what is in output.label but will use output.value when setting the target field.

 

output.value = 'your sys_id value';

output.label = 'Your Display Value';