How to make a command button (Complete Button) enable/visible based in custom field value
Ex: Enable ‘Complete’ button if the custom field value is not null.

How to make a command button (Complete Button) enable/visible based in custom field value
Ex: Enable ‘Complete’ button if the custom field value is not null.
Here’s an example:
Here’s an example:
Thank you Alex.
We already tried this, and it didn’t work. We used it in the ‘WORK TASK DETAIL COMPLETE ASSIGNMENT COMMAND.’
Can you paste your complete Enabled and Visible conditions? Your screenshot doesn’t show anything related to the custom field.
What version are you on, btw? Conditionally enabling controls was only added recently (I think in 24R1).
Configurations for Mobile - Technical Documentation For IFS Cloud
Can you paste your complete Enabled and Visible conditions? Your screenshot doesn’t show anything related to the custom field.
What version are you on, btw? Conditionally enabling controls was only added recently (I think in 24R1).
Configurations for Mobile - Technical Documentation For IFS Cloud
Thank you for the information.
We are on 23R2
Below is the condition.
Pretty sure 23R2 does not yet support that.
Note that the value you enter into your custom field must be saved before it reflects on your command. Note also that the Complete command you showed is part of the WorkTaskDetail page which is connected to the JtExecutionInstance Entity, so your CF needs to be present in JtExecutionInstance - the Enabled expression from your screenshot is syntactically correct assuming this is the case.
Best regards,
Rukmal
Note that the value you enter into your custom field must be saved before it reflects on your command. Note also that the Complete command you showed is part of the WorkTaskDetail page which is connected to the JtExecutionInstance Entity, so your CF needs to be present in JtExecutionInstance - the Enabled expression from your screenshot is syntactically correct assuming this is the case.
Best regards,
Rukmal
Thank you
Best regards,
Rukmal
Hi
Sorry for the delay. Please refer to the attached document.
Thank you.
Hi
Sorry for the delay. Please refer to the attached document.
Thank you.
Hi
Best regards,
Rukmal
First of all, the Complete Assignment command is part of Work Task Detail page which is connected to JtExecutionInstance. Therefore any conditional expressions it uses must also be based on JtExecutionInstance, which means that you cannot base it on a Custom Attribute added to the JtTask entity.
You had already done that too, but I suspect it didn’t work because you retained the “Visible” expression for the Command. Can you try setting Visible to true please?
I tried this yesterday and got it to work, so please try it as above and let us know how it goes!
Best regards,
Rukmal
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.