Kamis, 28 Juli 2022

Error Worfklow karena SSL/TLS AX2012

Stopped (error): ClrInterop Exception: Exception has been thrown by the target of an invocation.
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

Solved by :
Restart ADFS di server.
ex : 10.23 dan 10.31
Restart AOT dimana server WF.
ex : 10.19

Done 

Kamis, 21 Juli 2022

Script untuk mengambil beberapa karakter dari satu buah Str parameter

static void PSMSplitstr2(Args _args)
{
    //mendapatkan '000002' dari str paramAsStr.

    str paramAsStr = "PSM22-000002";
    List paramAsList;
    ListEnumerator le;
    int             i = 0;
    str             getnumber;

    paramAsList = strSplit(paramAsStr, "-");
    
    le = paramAsList.getEnumerator();
    while(le.moveNext())
    {
        if(i==1)
        {
        getnumber = le.current();    
            info(getnumber);
        }
        i++;
    }
}

from
https://www.schweda.net/blog_ax.php?bid=628&wdl=en

Erorr CS1963 - An expression tree may not contain a dynamic operation.

Kali ini saya mendapatkan erorr dengan code CS1963, padahal sebelumnya saya sudah mendefinisikan 'var item in Model' di @foreach(var...