Asset state changed by Audit entries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2025 07:14 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2025 04:19 AM
and the variables:
model_category=9705523e978a6910e41477971153af60 model=996ef6e247ee8610c38fc93a216d432f serial_number=23421ewqe2134 acquisition_method=Bring Your Own Asset u_acquisition_country=c938b7111b121100763d91eebc0713f0 owned_by=5e03ed6ceb74aa549331f80bcad0cd80 support_group=570a183e4769e61098efbdee316d43bf vendor= po_number= cost=; retirement_date= cmn_asset_tco= lease_id= request_line=b126cdb03be7e21874f60f1c95e45a25 install_status=1 substatus=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2025 04:42 AM
I see in screenshot you are setting substate as variable substate, is that right?
there is probably some field you are setting which is aborting the action at backend as it is working through UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2025 05:37 AM
Yes, we are asking the requestor which state and substate he wants to set and these values are set accordingly by the flow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2025 05:51 AM
Can you remove the substate mapping from flow just for testing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2025 01:22 AM
today we were able to find the cause - this is the request line variable which we populate with the RITM record - this is causing the state to be flipped to 'in stock'. Still, this is not solving our issue but gets us closer to understanding what's causing. If I do the same from UI, the state is not flipped.