Hi !
I created an application to test making a progress bar during process execution.
I have my variable which updates automatically using the “Send Interim Result” activity.
Using this variable, I would like to create a progress bar that “fills” using this value but I don’t know how to put my variable in the “Javascript” tab.
Can you help me please ?
Anil_G
(Anil Gorthi)
June 26, 2024, 5:28pm
2
@DimitriLYR
A small sample implementation
javscript
appVar1 - is the app variable name which I linked to text filed …so on change of text the value changes
App.onVariableChange('appVar1', value => {
document.getElementById("abc").innerText = value;
});
HTML
<div id='abc' class="textContainer">
This is the HTML control content
</div>
How it works
Hope this helps
cheers
1 Like
Hello, i’m trying ! Thanks !
@vrdabberu thanks but this is not for “Apps”
2 Likes
It’s works ! Do you know how I can refresh my value every time it changes automatically without pressing “Enter”?
Anil_G
(Anil Gorthi)
June 27, 2024, 7:37am
6
@DimitriLYR
How is the value changing?
check on the events you have and see which event helps you trigger that change of variable value
for example in the video I shared once the control moves output of text field the value changes
cheers
This is an argument that my process returns every 10 seconds from “Studio” in order to update it in my apps.
system
(system)
Closed
June 30, 2024, 8:09am
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.