Is there a way to hide the inputs of a popup activity using java or javascript?
Best answer by Amey Karandikar
@christopherlecky Form customization feature is one way to do this. No need for java script for this.
Set a hidden input on the second screen with value set to the input of the first screen.
On the second input activity, if you are using sp24 or below, you can go to Inputs tab->Customize->Look and Feel->Additional customizations for web. This will open webconsole UI with form customization screen.
On this customization screen you can setup a rule that will look like the following screenshot. Your field names and conditions may look different.
@christopherlecky Form customization feature is one way to do this. No need for java script for this.
Set a hidden input on the second screen with value set to the input of the first screen.
On the second input activity, if you are using sp24 or below, you can go to Inputs tab->Customize->Look and Feel->Additional customizations for web. This will open webconsole UI with form customization screen.
On this customization screen you can setup a rule that will look like the following screenshot. Your field names and conditions may look different.
Absolutely awesome answer. I typically use the Java gui for editing workflows so it doesn’t show up there as an option. I was under the impression that I would have to modify the object itself. This is a much better solution since it requires no coding and probably just uses JS to edit the page.
The ticket has screenshots and the CS and Workflow DB is currently being staged. I have another topic here for using workflow objects since the issue of the rules not working does not seem to apply to the workflow itself but rather to user interaction activities.
That said setting the rules on a workflow input would require a way to do a query prior to the form loading.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.