My workflow in most cases will result in the creation of a user.

Assuming I resolve all of my other questions and get flowdata ready to send
on to the "Create/Modify Entity" activity, how can I create a unique DN that
follows the naming convention required? Simple convention... First 5
letters of Surname, first initial, incrementing counter from 1-99 for
duplicates.

(I suppose I could offload this activity to a loopback driver... create each
user from workflow with a cn like "processme" and have the loopback driver
rename the account according to convention.)

If there are links online which I should read, please let me know. If you
have working examples and have already successfully "summited" this
particular peak, I'd appreciate the assist/ideas.

Rob.