Find out what created a record.

Tim Hannah
Tera Contributor

So we have created a custom flow to create a case when a req is created from the portal, so when req is inserted it checks if there is a case already, if not it creates it... easy.

The only issue is there appears to be something else that is kicking in before our script and creating a case so the flow condition is false.

How can I check what business rule or flow or workflow or what ever created a specific record? 

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hello,

There isn't an "obvious" sign that shows what created a record in terms of if it was a workflow, flow, business rule, etc...so you'd want to first look at the record that was created and use the context menu to go to History > List and then note the time stamp that it was created and the actions took place, then navigate to your system log and see around that same time period and if it was a workflow or something to that effect, you can see flow specific verbiage going on to indicate that. If that's not successful, then look at business rules for the table that you feel may have kicked this off and see if there's anything script wise covering ".insert()" of a record on your other table.

It's a bit tough to explain, as you'd know your environment and would be able to sort of get a feel for how this may have been done, but that's where I'd start. There could be a number of ways this could be done from integration to others and you haven't really given us enough information to show that you've done some research and be able to give us more context.

Like...did the case show up seconds before you thought it would by some other method?

Was is already there from days and days ago?

We don't know the context for what all you're talking about.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

1 REPLY 1

Allen Andreas
Administrator
Administrator

Hello,

There isn't an "obvious" sign that shows what created a record in terms of if it was a workflow, flow, business rule, etc...so you'd want to first look at the record that was created and use the context menu to go to History > List and then note the time stamp that it was created and the actions took place, then navigate to your system log and see around that same time period and if it was a workflow or something to that effect, you can see flow specific verbiage going on to indicate that. If that's not successful, then look at business rules for the table that you feel may have kicked this off and see if there's anything script wise covering ".insert()" of a record on your other table.

It's a bit tough to explain, as you'd know your environment and would be able to sort of get a feel for how this may have been done, but that's where I'd start. There could be a number of ways this could be done from integration to others and you haven't really given us enough information to show that you've done some research and be able to give us more context.

Like...did the case show up seconds before you thought it would by some other method?

Was is already there from days and days ago?

We don't know the context for what all you're talking about.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!