Notifications
Announcements
No record found.
Is there a way to create inactive record programatically ?
*This post is locked for comments
Hello,
You can try to pass statecode/statuscode along with the list of other fields. If this wouldn't work - deactivate it immediately after creation.
I tried to add status value along with other fields but it is not taking and I am bulk creating the records :(
Then I will suggest you a small trick
1. Add some flag field to entity and import it along with entity - it will mean that record should be deactivated after creation.
2. Add Real-Time workflow that will trigger on Create of record, check flag field from step 1 and then deactivate record.
Simple, fast and does what you want.
Hey Andrew,
I have created a active record and updated the status so I am sorted :)
Thanks
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2