function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Manoj Gautam 1Manoj Gautam 1 

Create a contract record when opportunity is won. contract is not a child of the opportunity.

I am working on a very simple usecase that can be easily coded in a trigger but I want to use Process builder for it.

Use case: When an opportunity stage ="WON", create a contract record. I am stuck at setting the values for the contract record. Please take a look at the screen for error. How can I set the AccountId field on the Contract record?
User-added image
V V Satyanarayana MaddipatiV V Satyanarayana Maddipati
Change the Type picklist value from ID to Reference; Id type will accept only static record id . Change the Number Type to Reference, if you want to populate dynamic value.

User-added image