サービスポータルウィジェットの簡易リストから承認/却下が行えてしまう

Yugo Sakuma
Tera Contributor

サービスポータルウィジェットで、承認テーブル(sysapproval_approver)を選択した簡易リストを作成後、リストから承認者が自分のレコードを選択すると[状況]タブからプルダウンで承認済みや却下を選択することができますが、ライセンスの関係上承認者ロールを使用していなくても変更が可能であることは正常な動作でしょうか?

 

また、こちらの[状況]タブを読み取り専用に設定することは可能でしょうか?

1 件の受理された解決策

Ankur Bawiskar
Tera Patron
Tera Patron

@Yugo Sakuma 

If I go to the OOTB "Approvals" in portal header menu and then it shows me list

Then I open the approval record, I see 2 buttons

AnkurBawiskar_0-1747115091144.png

I believe you are navigating to the form widget and this is what you are seeing

AnkurBawiskar_1-1747115166721.png

You can write onLoad client script on sysapproval_approver table and make state field readonly

Ensure UI Type - Portal

Script:

AnkurBawiskar_2-1747115433763.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

元の投稿で解決策を見る

3件の返信3

Ankur Bawiskar
Tera Patron
Tera Patron

@Yugo Sakuma 

is that a custom widget?

How are you navigating to this page?

share some more details

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@Yugo Sakuma 

If I go to the OOTB "Approvals" in portal header menu and then it shows me list

Then I open the approval record, I see 2 buttons

AnkurBawiskar_0-1747115091144.png

I believe you are navigating to the form widget and this is what you are seeing

AnkurBawiskar_1-1747115166721.png

You can write onLoad client script on sysapproval_approver table and make state field readonly

Ensure UI Type - Portal

Script:

AnkurBawiskar_2-1747115433763.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thank you very much!