Below is our code:
List<Document> d1=[select id, Name, body from Document where id = '0151q000000BP1I'];
String str = EncodingUtil.base64Encode(d1.body);
Please suggest any work around for this.
I am new to salesforce.
Our requirement is to update few fields from Case Object in Servicenow to Custom Object in Salesforce.
Could some one please check our requirement and suggest the ways how can we achieve it.
Thanks & Regards,
We are trying to find a solution to a issue about Omni Channel Routing.
Actually we are thinking about using skills-based routing, but this is only the first idea.
Well, we have some skills for our agents and all of the agents have all the skils, varying only on the skill level. So, we are in a situation like:
Senior Agents have the Active Clients Skill with skill level 10.
Junior Agents have the Active Clients Skill with skill Level 7.
When I create a PendingServiceRouting and we have a Active Clients Skill related to it, we expected the following result:
Omni channel first try to push the item to Senior Agent. With none Senior agent is available, Salesforce try to push it to Junior Agents. All this based on the skill level.
The problem is that Salesforce always route the work item based on the time it was created or by priority, never considering something like "the best agent first".
Can anybody help me with a solution or a idea?
We are doing this because today we have 3 kinds (the most qualified represents 5% of our clients, qualified 60% and non qualified 35%) of clients and all of our agents can give support to them. Otherwise, our most qualified client should be "helped" by our agent with best skill. This way of thinking can solve some problems, like:
- Seniors Agents will have as work items as the others.
- Qualified clients can have preference in waiting time.
- Qualified clients can have preference in best support.
Can someone give me a hand?
I'm new to coding here, I would just like to know why do we need to subtract this value "Date(1900, 1, 7)" to a certain date to get the day of the week? I don't quite understand what's with this date? Eg "MOD( TODAY() - DATE( 1900, 1, 7 ), 7 )".
Thanks for the help.