Hi,
I have written below code to create my custom inline function and deployed in K2 Srever.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing.Design;
using SourceCode.Framework;
using SourceCode.Workflow.Functions;
using SourceCode.Workflow.Functions.Design;
using SourceCode.Framework.Design;
namespace SourceCode.Workflow
{
   ÂCategory("SourceCode.Workflow.Properties.Resources", "Custom Function", typeof(GetSubStringValue))]
   public class GetSubStringValue
   {
       >DisplayName("SourceCode.Workflow.Properties.Resources", "ToStringName", typeof(GetSubStringValue))]
       )Description("SourceCode.Workflow.Properties.Resources", "ToStringDescription", typeof(GetSubStringValue))]
       gK2Icon(typeof(GetSubStringValue), "Resources.TextSplit.png")]
       public static string CustomSubString(
           nDisplayName("SourceCode.Workflow.Properties.Resources", "ParamName1", typeof(GetSubStringValue))]
           "Description("SourceCode.Workflow.Properties.Resources", "ParamDescription1", typeof(GetSubStringValue))]
           object sourceValue,
           eDisplayName("SourceCode.Workflow.Properties.Resources", "ParamName2", typeof(GetSubStringValue))]
           rDescription("SourceCode.Workflow.Properties.Resources", "ParamDescription2", typeof(GetSubStringValue))]
           char separator,
           eDisplayName("SourceCode.Workflow.Properties.Resources", "ParamName3", typeof(GetSubStringValue))]
           iDescription("SourceCode.Workflow.Properties.Resources", "ParamDescription3", typeof(GetSubStringValue))]
           long index)
       {
           if (sourceValue != null)
           {
               return sourceValue.ToString().Split(separator)Âindex];
           }
           return "";
       }
   }
}
For deployment i have followed below link:
But im not able to see this function in Function Browser.
Correct me if anything wrong in my code?
Regards,
Saya
Â
Â