Skip to main content
4-Participant
August 5, 2023
Solved

Change a field when a status is triggered

  • August 5, 2023
  • 1 reply
  • 1324 views

Dear community,

 

I am looking for a solution where by i can change a word based on a change in another field.

 

example

newbie_here_0-1691200132974.png

When  the square is green, the label shows "is working". When then square is Blue, the label shows is not working.

 

Hope someone can guide me step by step on how to do it.

 

 

 

 

 

Best answer by Arun_C

Hi @newbie_here 

If Im understanding correctly in your statement, You can use the Functions > Expression to achieve your use case in UI level.

  • Create a Expression Function in your mashup with required Input (String/Number/etc.)
  • Wirte the logic with based on that Input Condition what should be print on the Output
  • Need ot bind the evaluation event incase any Service Invoke/Changed Event from your field/Enable the Auto Evalution event to run the expression
  • Change Data Change type to 'Always'

Arun_C_0-1691206551143.png

I hope this thing will helps you, If not please explain me here more in your statement.

 

Thanks & Regards,

Arun C

1 reply

Arun_C16-PearlAnswer
16-Pearl
August 5, 2023

Hi @newbie_here 

If Im understanding correctly in your statement, You can use the Functions > Expression to achieve your use case in UI level.

  • Create a Expression Function in your mashup with required Input (String/Number/etc.)
  • Wirte the logic with based on that Input Condition what should be print on the Output
  • Need ot bind the evaluation event incase any Service Invoke/Changed Event from your field/Enable the Auto Evalution event to run the expression
  • Change Data Change type to 'Always'

Arun_C_0-1691206551143.png

I hope this thing will helps you, If not please explain me here more in your statement.

 

Thanks & Regards,

Arun C

4-Participant
August 5, 2023

Dear Arun_C

 

Thank you so much for the solution.

 

I am quite new to this and how do i set the colour green to be colourstatus 1?

16-Pearl
August 5, 2023

Hi  @newbie_here 

 

Input and its condition with color status which i mentioned above is an example only, Please change the input & its condition based on your requirement.

 

May I know how you are displaying the color changes in UI?

 

Regards,

Arun C