16
Views
7
Comments
Solved
Is it possible any logic working in debug mode not save detail without debugger?
Question

Hello everyone,

I am phasing issue while saving detail in user extended table. User created in system user table but not in extended table.

but if i am debugging then detail created in extended table as well. without debugger gives error user not available.

If any one phased same issue or any input please help this.

Thanks in advance.

Shashi Mishra

UserImage.jpg
vikas sharma
Champion
Solution

Hi Shashi,

It would be helpful if you can share the action screenshot here or error you are facing in logs. Most probably it should be because User not created and getting Null User Id for user extended table. But without looking at logs we can't say anything.

regards

2021-11-14 02-45-20
Shashi Mishra

Thanks Vikas.

You are correct, but with debugger record is added. Below is error log


Screenshot 2025-01-23 121707.png
2022-12-30 07-28-09
Navneet Garg
Solution

According to screen shots it seams you are violating the unique index rule. Either remove unique index from column or try to check the data that user id already exist or not if yes than handle it accordingly.

2021-11-14 02-45-20
Shashi Mishra
2021-11-14 02-45-20
Shashi Mishra

Working fine. Thank you naveen. 

2021-11-14 02-45-20
Shashi Mishra
Solution

Thank you vikas it was issue of index and Id .


2022-12-30 07-28-09
Navneet Garg
Solution

According to screen shots it seams you are violating the unique index rule. Either remove unique index from column or try to check the data that user id already exist or not if yes than handle it accordingly.

2021-11-14 02-45-20
Shashi Mishra
Solution

Thank you vikas it was issue of index and Id .


UserImage.jpg
vikas sharma
Champion
Solution

Hi Shashi,

It would be helpful if you can share the action screenshot here or error you are facing in logs. Most probably it should be because User not created and getting Null User Id for user extended table. But without looking at logs we can't say anything.

regards

2021-11-14 02-45-20
Shashi Mishra

Thanks Vikas.

You are correct, but with debugger record is added. Below is error log


Screenshot 2025-01-23 121707.png
2022-12-30 07-28-09
Navneet Garg
Solution

According to screen shots it seams you are violating the unique index rule. Either remove unique index from column or try to check the data that user id already exist or not if yes than handle it accordingly.

2021-11-14 02-45-20
Shashi Mishra
2021-11-14 02-45-20
Shashi Mishra

Working fine. Thank you naveen. 

2021-11-14 02-45-20
Shashi Mishra
Solution

Thank you vikas it was issue of index and Id .


2021-11-12 04-59-31
Manikandan Sambasivam

Hi,

Suppose the creation of the User record and the record in the extended table take place in separate transactions. In that case, the action may fail to identify the User record during the second operation. Kindly share the flow details to help identify the exact issue.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.