Hi All
we are having one column, if ID of the item is 1, then "Request ID" which should be in the format "OSR000001" , 6 digits shud be coming always.if the ID is 40 then it shud be "OSR000040"..
so that for getting values in that column, i used item added event, to get that format..
string str = properties.ListItemId.ToString("0#####"); and appended "OSR" with the result.. everything was fine,,,
now the requirement got extended and i need to diplay the value of "Request ID" in workflow mailbody..
i used string builder,add or change look up to get the value of that "Request ID". it is coming blank.. but if i take value of ID, it is coming fine.. i tried to append "OSR" with the ID.. there my logic fails.. because, if ID is
4 it is coming as "OSR4".. but i need to have like "OSR000004", and if the ID is 40 it shud be like "OSR000040".. please help me..
i think i have clearly explained my issue.. if i am not clear please ask..