Skip to main content

Well here is a good one…

Is there a way to hide the inputs of a popup activity using java or javascript?

 

 

 

 

 

Awesome, Brian sorted me out as expected.

Turns out it was a simple misunderstanding of the term “hidden”


On the customize input screen there is a hidden option.


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.

 

thanks,

 


Unmarking as Best Answer.

@Amey Karandikar , can you advise @christopherlecky on why this isn’t working?


@Mike Struening @christopherlecky  Its not clear what is not working. So maybe best to open a ticket.


The ticket is opened: 220218-540

The issue is that the rules are failing to work.

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.


Thanks for the case number, @christopherlecky !  I see it’s currently with one of, if not THE best engineers in support.  You’re in good hands!


That’s definitely interesting.  Can you share some of the use case a bit?

Tagging in @Chris Sunderland since he is a Workflow guru :sunglasses:


Brian is a gem!


On the customize input screen there is a hidden option.

@Amey Karandikar Yes, but I want the ability to programmatically flip the option on and off.

 

so for example, screen two would be altered by the options selected on screen 1.


@christopherlecky  Form customization feature is one way to do this. No need for java script for this.

  1. Set a hidden input on the second screen with value set to the input of the first screen.
  2. 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. 
  3. On this customization screen you can setup a rule that will look like the following screenshot. Your field names and conditions may look different.
form customization

 

 


The feature isn’t working for me. Should this work within the same page?