0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ServiceNowのFlow DesignerでActionの初回保存時にActionのInputでsys_idを変数名にするとぬるぽが出る

Posted at

確認したバージョン: madrid patch4
環境: Developer Instance

これはIncidentへの最新コメントを取得するActionを作成したくなり、Incidentのsys_idを引数にとるActionを作成したときのお話です。

labelに sys_id を設定してSaveすると java.lang.NullPointerException で保存に失敗。

スクリーンショット 2019-11-07 19.59.10.png

しかし id など別のlabelに変更すると保存に成功。
スクリーンショット 2019-11-07 19.59.22.png

一度保存に成功した後であれば、labelにsys_idを設定しても保存に成功する模様。
スクリーンショット 2019-11-07 20.06.05.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?