The CreatorCon Call for Content is officially open! Get started here.

Custom Flow Action with Field Name as an Input

Chris-STL
Mega Guru

I'm attempting to create a custom action which will take in both a table name and a field name.  I have created the Table Name input, which lets me select any table.  But Field Name does not have an option to have a dependency on the table field, and does not have any options available to select when I test the action.  I've also looked through the dynamic inputs option, but don't see any solutions there.  See screenshot using the Field Name variable type below.  Any thoughts before I open a Case?

 

ChrisSTL_0-1738098391883.png

 

1 ACCEPTED SOLUTION

Chris-STL
Mega Guru

Follow up for anyone that finds this in the future.  ServiceNow has acknowledged that the field isn't currently working. However at this point they are deciding whether to support it, or hide it.  For my purposes I've switched to a simple text box for the field name on my action.

View solution in original post

3 REPLIES 3

Jon23
Mega Sage

Hi @Chris-STL

I tested on my PDI Xanadu release and it did not behave as I would expected based on the documentation for the field type:

Field NameReference field for a field name in the table selected in a Table Name field type. Make this field dependent on the Table Name field.

source: https://www.servicenow.com/docs/bundle/xanadu-platform-administration/page/administer/reference-page...

 

I did not see any advanced option to make Field Name dependent on Table Name in the flow action.

 

Please provide update to this post if you open SN Support Case and get resolution.

Amit Verma
Kilo Patron
Kilo Patron

Hi @Chris-STL 

 

I tried reproducing your issue on my PDI and I encountered the similar issue. As per the official documentation, Field Name field should be made dependent on Table Name field, but I can't see an option to make it happen under the advanced options.

 

I saw another data type Field List which gives this option but that's also not working as expected. Refer below screenshots. I suggest you raise a support case for this and update us with the fix.

AmitVerma_0-1738118481385.png

 

AmitVerma_1-1738118501272.png

 

Thanks and Regards
Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Chris-STL
Mega Guru

Follow up for anyone that finds this in the future.  ServiceNow has acknowledged that the field isn't currently working. However at this point they are deciding whether to support it, or hide it.  For my purposes I've switched to a simple text box for the field name on my action.