getting function name form pre and post field from workflow transition and calling