In some cases in Irecruitement i am getting From role as <Please Enter>. I have to replace it with Some standard name like 'HR Team'. How can i achieve it.
I tried it by creating a adhoc user. But it is of no use. Should the From role should definetly be an employee of the organization. Can i randomly create a adhoc_user and use it?
The 'From Role' which you mentioned is for notification? If its for notification you can specify the 'From role' as below.
wf_engine.SetItemAttrText(<itemType>, <itemKey>, 'FROM_ROLE', '<role name>');
The From value will be shown as display name of the role.