by Niklas Waller on December 29, 2011
in Salesforce
With the Winter ’12 release of Salesforce comes the new Cloud-Based Flow Designer (as a beta). It works with production quality but has some limitations. You can find it under Workflow & Approval in the Administration Setup.

A visual workflow allows administrators to set up collections of screens, or flows, that step users through the process of collecting and updating data. Simple flows can easily be setup. Elements are dragged onto a canvas from a left pane. For example screens to the user to get input, logic like decision handling and ways to get, create and update underlying Salesforce data.
Sometimes there might be a need for more complex calculations and in these cases Apex functionality can be used. Special Apex classes are then created and can be used as plugins to the flows with in- and out parameters. The next blog post will cover an example of this.
Furthermore created flows can be added to Visualforce pages. Hence, this is a very good tool for administrators, sometimes in cooperation with developers, to create useful and complex flows to provide a very good solution to their customers and users.

| Limits of a flow: |
| Maximum number of versions per flow |
|
10 |
| Maximum number of steps per flow |
|
2000 |
| Maximum number of active flows per organization |
|
500 |
| Maximum number of flows per organization |
|
1000 |
| Maximum size of uploaded flow file |
|
3MB |
The differences from the already existing Desktop-Based Flow Designer version can be found here. Download the latest version of the desktop version here.
See a demo of the Cloud-Based Flow Designer here.
Tagged as:
Flow Designer,
Flows,
winter 12,
workflow

Hope you all are having, or have had, a great Christmas! We didn´t get a white Christmas this year. But still – it is very beautiful with all the decorations – and it is nice to see how people get ready for all the festivities and the things they do for the holidays.
A season of lights and hopes!
Merry Christmas everyone!
Tagged as:
god Jul,
logo grande,
merry christmas

We took the steam train to Nynäshamn outside Stockholm three weeks ago to look at the christmas fair. Someone was making an ice sculpture from a big block of ice. Looks like he was making a moose. I am impressed by these artists. This time he had to hurry up though as the ice was melting
Tagged as:
ice sculpting nynäshamn
by Niklas Waller on December 22, 2011
in Salesforce
In SOQL-queries or in data to be imported into Salesforce via for example Apex Data Loader dates have to be on a specific form.
Simple date:
YYYY-MM-DD
Date, time and time zone:
YYYY-MM-DDThh:mm:ss+hh:mm
(put datetime in eastern time zone in hours and minutes)
YYYY-MM-DDThh:mm:ss-hh:mm
(put datetime in western time zone in hours and minutes)
YYYY-MM-DDThh:mm:ssZ
(datetime in GMT)
As the Salesforce help says dateTime field values are stored as Coordinated Universal Time (UTC) in Salesforce. When one of these values is returned in Salesforce, it is automatically adjusted for the time zone specified in your organization preferences. SOQL queries return dateTime field values as UTC values.
If you have an application querying a record in Salesforce with for example LastModifiedDate as a condition in the SOQL-query you need to specify the timezone or else you will get the results in GMT.
Look at this example. I have a SOQL query in a Java class which queries Salesforce via web services. The SOQL-query looks like this:
String soqlQuery = "SELECT Id, Name FROM " + obj + " where LastModifiedDate > 2011-12-18T11:00:00+01:00 and LastModifiedDate < 2011-12-18T11:30:00+01:00";
A record in my org was created at 11:15 GMT+01. Using this query will give me a result. Using the GMT variant or no timezone will give me nothing.
If you are trying to insert a record in the same org and you want to set a date field using Apex Data Loader you must however use the GMT variant or else the date will be one day earlier than specified. This is because DataLoader is running on Java which uses the installed machines default time zone. See this blog post for more on this.
Have you got more info on this? Tell us!
Tagged as:
api,
date,
timezone
by Sven R. Ohlson on December 19, 2011
in Pictogram

Lots to do before Christmas comes along. Everybody is shopping and hopping around like monkeys – getting ready for the holidays. Food, toys, wrapping-paper – you name it… they just need to buy it now. I was out to get some things and I must say that lots of people were out on the move. I don’t really mind all the people. It is actually interesting to see all of these different kinds of people handling X-mas in their own way. Put things into perspective – don’t forget to enjoy the moment.
Merry Christmas everyone!
Tagged as:
christmas,
monkey
by Sven R. Ohlson on December 18, 2011
in Film

The trilogy by Stieg Larsson is now soon having its world movie premier. Directed by the famous David Fincher who has made several, or might I say, lots of fantastic movies! He has worked with the Oscar-awarded production-designer Donald Graham Burt – who I also have had the privilege to get to know and work with on this movie – The girl with the dragon tattoo. I have worked as graphic designer on this movie – that I must recommend you to see. There were three graphic designers on this movie – Josef Norén, Martin Ring and myself (Sven R. Ohlson). You will see many fantastic sets, designs and environments on this film – overall a super-nice look and feel to the movie – thanks to many of the talented people I have come to know while working on this film.
Thanks guys for being able to join you and work together with you all on this movie! I would mention the names of you all – but I’m afraid I would forget someone – you know who you are!
Tagged as:
david fincher,
Josef Noren,
martin ring,
sven r ohlson,
the girl with the dragon tattoo
by Niklas Waller on December 15, 2011
in Technology
A few days ago I got some new toys – an iPad 2 and a Buffalo Terastation NAS Server.
The iPad 2 is something that I am very happy with of course. Right now I am only using it for fun but the idea is also to be able to see how apps and websites that I develop will look on it. It looks nice and is highly functional. Better that my expectations and I have really waited a long time. I am very curious about iPad 3 though but I couldn’t wait for it.

The Buffalo TeraStation ES NAS 8TB is something that I am quite satisfied with as well. It contains a raid system with 4 disks á 2 TB. It was quite easy to setup and provides lots of functionality. The Print Server was up and running in no time. Itunes the same way once you understand how it all works. All videos of different kinds have been added to the NAS server and these are now streamed to the iMac in the livingroom using XMBC with no performance loss at all. I can also set up webaccess or FTP for access from anywhere. There is also backup functionality that can be scheduled. Even the iPad can access the NAS-server although this is a special case that I will tell you more about next.
A NAS-server makes life more structured and easy for the company but also for private matters – especially if you’re a tech geek.
Tagged as:
ipad,
nas

Here is a sketch I did the other day – a little illustrated thought about friendship. An old man walking his little dog. A reflection of today – this old man taking his dog for a walk… or is it two companions for life out and about – talking to one an other about their life. Many ways to look at a relationship between two friends. Lots of things to do together and sharing the moments that later will be memories… An unbreakable bond – silent understanding and acknowledgement of each other.
Friends…
Tagged as:
old man,
walking the dog

In Sweden and in some other western countries we have something called ‘Advent’. The four Sundays before Christmas are all numbered advents. First Advent, Second Advent, Third Advent and Fourth Advent. This is mainly a christian thing, read more. But these things are also something nice that helps us get the Christmas spirit right. On our first advent this year we made some gingerbreads and put some glazings on them. It looks nice and they taste great too!
Tagged as:
Advent,
christmas,
Gingerbread
by Niklas Waller on December 8, 2011
in Twitter,Web
I was looking at how we are doing on Twitter and its bad to be honest. We have not prioritized this at all. I used TweetsMap to see how we are spread over the world as you can see below. This has got to change! More followers this way please! We will start try to be more active.

Tagged as:
tweetsmap,
twitter,
wohill