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

Asset state changed by Audit entries

Robert _ysakows
Tera Contributor

We're creating a flow for creating a new asset record. Requestor can decide which asset state it should be created in. We use a very simple flow - collect the requestor input and use 'create record' against alm_hardware table. If we use state = In use, the record is created with this state and then immediately changed to 'in stock'. We've tried everything and can't figure out what's going on. When we select 'In stock' instead, it does not do any changes. If I create the same record from UI, it's created in 'in use' state.
Any suggestions on how to troubleshoot this?

Robert_ysakows_0-1755872082843.png

 

16 REPLIES 16

we checked that and we did not find any; remember - when done from UI it works as expected

Can you share the update step details from flow designer


Raghav
MVP 2023
LinkedIn

today I've found the step which is causing this:

Robert_ysakows_0-1756201860351.png

we still do not know why it happens, but we're sure this is the culprit.

Are you using procurement as well, request line is populated from PO Line item , I suppose.

 

can you try populate RITM in work notes instead if request line and setup rest all fields and check if that works


Raghav
MVP 2023
LinkedIn

We have PC assets created as pert of vendor API and they all get the original RITM as the 'request line'. What you're referring to is a 'purchase_line' field which we do not use.