I want to implement validation rule whew i need to check organisation id. My validation rule contains (organisation.id='005223323') Can anybody tell me is there any way to take the organisation id dynamically.
Look at the global variable documentation, it has Organization variable which you can use to get the information of company information dynamically. Org Id can be fetched with
You can use Hierarchical Custom settings in validation. This ensures your metadata is not hardcoded.
Thus your validation will looks something like