Unable to bind app variables to uipat process

hello,

i am creating app to support solution architects.
my requirement is to pass variables from app to studio variables.
for same i haev created variables in app and assigning to studio variables using set values.i cant find bind value option in properties of any control (ex. drop down control) like we used to have in previous apps before migrating to vb.
after passing value to studio i need to start agent in bpmn model and need to pass same variables in agent.
how can i achieve this?
so help me in below points.
cehck ss and tell me where i went wrong to assign variabels, because when i am running app after entring data , when it triggers process of upath , in message box it showing empty.

chk below ss -
forst of all i cant see value binding option in properties.






but message box showing empty , it should show whatever value is selected in dropdown right.check below ss - getting other two fields as well those are also empty.


help me where i went wrong?
help me to resolve this as earlier as possible.
@ashokkarale @Anil_G @Akshay_B @aravind_kumar1 @MFK @mkankatala @rlgandu

Could you raise this as a support ticket for investigation

is i am doing anything wrong ?can you once check? or this is app issue? plesae go through ss once

@Mathkar_kunal,

I will try to recreate the scenario and let you know if I’m also facing the same issue or not.

1 Like

@Mathkar_kunal Could you show me the Start process argument values
?

which process ?UiPath apps or UiPath studio .both actuallly i have mentioned as screenshots.check once

To pass the UiPath ‘app’ variable to the UiPath studio process, you must assign the value of the ‘app’ variable to the input argument of the process using the Start Process rule within the UiPath app edit rule.
.

can you pleaes show me with the images?
consider i have dragged on etext box in app and that text box value i need to pass in UiPath studio variable.

consider same example for dropdown list as well, whatever is selected i need to pass in variable in UiPath studio.

pleaese help me on same .
i am stucked on this point as i checked many docs but no clear solution i found.
help as early as posible

did below as you suggested


still value is showing empty

When you pass the ‘app’ variable to the Hint Text property of a text box, it is only displayed as a placeholder (i.e., hint) in the input field. However, this does not set the actual input value of the text box. At runtime, whatever the user enters into the text box is what gets passed to the Studio process.

If you want the text box to have the app variable as its default input value (i.e., pre-filled when the form loads), you should pass the app variable to the Default Value property of the text box instead.

ok understood .so in hint text what i need to pass? UiPath workflow variable? or nothing?

I have created a simple flow:
-dropdown
-Text box
-Submit button

This is the property of the dropdown:


with the rule:

and this is text box rule:

when I click on submit button I start a process which uses the value from dropdown and text box:

This is the execution

when I click on submit a UiPath studio process starts which displays the app values in the message box as follows:


1 Like

Dont pass anything, its just a hint message, like what should be typed in text box

checked as you suggetsed as well, but still value is empty.
now i am only passing app variable to default value and in start process i am assigning as i have showed in previous image.
what is the exact error?what i am missing?
where i am doing mistake?

is dropdownvalu is variable? you have created in app?

becasue when i am writing mainpage. it is not comming,even my created variable also not comming

in UiPath process argument directions are only in or inout?

got it able to resolve the issue thank you .

i have on equestion.
i need to strat bpmn model using UiPath workflow. is it possibe?
and if able to do it i need to pass the varibale now i got from app s to studio and now to agent after starting bpmn model process agent.

please tell me way how can i do it

@Mathkar_kunal

few things here

  1. I believe you figured out set value to variable for process needs to be done in start process directly..but binding should be done with pagename.controlname.value ..this would give the value selected in dropdown
  2. The type needs to be string if you need only selected value…if list ideally you are passing all values
  3. To start the process have a start job activity which can trigger it.(make sure you system package is latest)

a small sample on how to get value from control

linking to process is from the start process but use the above format to get the control selected value

cheers

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.