cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Block workflow comment section

IreneMa
Discoverer
0 Likes
1,156

Hi all,

do you know if it's possible to block/hide the comment section at the bottom of a workflow?

Or ever default to blank if not possible to hide?

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

shreyashrangrej
Participant
0 Likes

Yes, it is possible to hide the comment section at the bottom of a workflow in SuccessFactors. You can do this by customizing the workflow approval form template in the Workflow Designer tool.

To customize the approval form template

  1. In the Workflow Designer, select the workflow you want to modify and click the "Approval Form" tab.
  2. Click the "Edit" button to open the approval form template in the HTML editor.
  3. Find the section of the template that corresponds to the comment section at the bottom of the form. This will typically be a textarea element with a label of "Comment".
  4. To hide the comment section, you can either delete the entire element or set its "display" style to "none". For example:
<textarea id="Comment" name="Comment" label="Comment" style="display:none;"></textarea>

<textarea id="Comment" name="Comment" label="Comment" style="display:none;"></textarea>

5. Save your changes to the template and publish the workflow to apply the changes.

Alternatively, if you want to keep the comment section but have it default to blank, you can set the "value" attribute of the textarea element to an empty string. For example:

<textarea id="Comment" name="Comment" label="Comment" value=""></textarea>

This will cause the comment field to be empty by default when the approval form is displayed.

It's important to note that these changes will only affect the approval form template for the specific workflow you are modifying. If you want to apply these changes to multiple workflows, you will need to customize the approval form template for each workflow individually.

Alina
Active Participant
0 Likes

Hello, willdub,

This is a product limitation. Currently, it is not possible to hide Comment field and withdraw button in workflow page. Comment field is editable to all approvers and contributors all the time, while withdraw button is showing up when initiator opening the workflow page.

Best regards,

Alina