Subflow updates cmdb_ci just for a half?

AdamUMC
Tera Guru

Hi there,

I am using ServiceNow Zurich.

I have a subflow that updates computers. However, it so happens that one of the three subflows does update the computer (visible in the history), but on the form itself, there appears to be no input in the relevant fields.

Anyone any idea what could be the cause of this?

Thanks!

1 ACCEPTED SOLUTION

AdamUMC
Tera Guru

I found the cause and fixed it. 🙂

The cause is using a datapill to the name of the records, instead of the sys_id of these records. Please see attachments for more info.


@Ankur Bawiskar 

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@AdamUMC 

did you check subflow context if it actually updated?

may be some before BR is clearing out those fields?

what happens when you manually set those fields? does the form get saved with proper data?

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

Hi Ankur,

Thanks for the very fast reply, I appreciate.

Manual input goes very well; what has been entered, stays entered.
There are two mandatory fields which has to be filled in to save the input in the two other fields. But even with the mandatory fields filled in, the subflow does it's update, but it's not shown in the computer form; it is only shown in the computer history detail. 😞

I don't think it's a BR, since the two other subflows that modify computers as well, are working correct.

Subflow execution log shows successfull updates; see attachments here below.

@AdamUMC 

if subflow has updated then the values should be there unless something is clearing that

Any data policy is stopping the update?

did you try to run background script and try updating using GlideRecord?

how is that subflow triggered?

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

AdamUMC
Tera Guru

I found the cause and fixed it. 🙂

The cause is using a datapill to the name of the records, instead of the sys_id of these records. Please see attachments for more info.


@Ankur Bawiskar