Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
I am the only salesforce admin at the company i work for. i have created some workflows that i do not wish to be activated until a certain time. unfortunately that time is when i am on holiday.
does anyone know if there would be a way of setting up another workflow or a schedule that will activate the workflow whilst i am away?
asked Apr 28, 2016 at 10:09
If you are ready for some coding then i guess your requirement can be fulfilled by use of Metadata API.You can activate and deactivate workflow with the help of Metadata API.
Plus you can create certain schedule which will call this activation code whenever you want.
for more information on use of Metadata API and apex wrappers visit this link
answered Apr 28, 2016 at 10:24
5,77411 gold badge1616 silver badges3636 bronze badges
If it's not mandatory requirement to postpone activation. In you parcilar case you could postpone your workflow execution by adding date/time check:
and(Now() > DATETIMEVALUE("2016-04-28 09:00:00"), condition1 )
This simple workaround will allow to avoid coding, testing, deploying and maintaining of your code.
answered Apr 28, 2016 at 11:07
Ilya LepeshIlya Lepesh
4,10511 gold badge1111 silver badges2525 bronze badges
You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged